---
schema_version: "1"
id: 1beb49849bb4b5bae19988c085bffaab9b5d003d1fd5c7c537d3b88919d17d35
title: Email Connector Examples 1.6
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/email-connector/latest/email-examples.md
canonical_url: https://docs.mulesoft.com/email-connector/latest/email-examples
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 4de455dbdb145299b5594fb3954c30cf5157c8694b45e79ea98e03eef940f6e4
description: MuleSoft Documentation Site
release: "1.8"
latest: true
---
---
product: Email Connector
version: 1.8
is-latest-version: true
keywords: anypoint, connectors, transports
---

# Email Connector Examples 1.6

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

To fully benefit from using Anypoint Connector for Email (Email Connector), see the following
examples to configure the connector.

- [Send Emails and Attachments](https://docs.mulesoft.com/email-connector/latest/email-send)  
  Configure the **Send** operation to send emails and attachments over SMTP or SMTPS servers.

- [List Emails](https://docs.mulesoft.com/email-connector/latest/email-list)  
  Configure Email Connector and IMAP or POP3 protocols to list emails.

- [Connect to Gmail](https://docs.mulesoft.com/email-connector/latest/email-gmail)  
  Configure Email Connector and IMAP, POP3, and SMTP protocols to connect to your Gmail account.

- [Trigger a Flow When Receiving a New Email](https://docs.mulesoft.com/email-connector/latest/email-trigger)  
  Configure the **On New Email - IMAP** or **On New Email - POP3** sources to retrieve all the
  emails in an IMAP or POP3 mailbox, and generate a new message for each unread email found.
  Additionally, configure the **Delete After Retrieve**, **Enable Watermark**, **IMAP Matcher** or
  **POP3 Matcher**, **Attachment Naming Strategy**, and **Enable Remote Search** parameters for
  these sources.

- [Set Parsing Text File Attachment as Body Message](https://docs.mulesoft.com/email-connector/latest/email-attachment)  
  Set the system property `parsing.text.attachment.as.body` to change the behavior of parsing
  attached text files when the file is the only content in the message.

- [Move Messages Between Folders for IMAP/S Connection Providers](https://docs.mulesoft.com/email-connector/latest/email-move-folder)  
  Configure the **Move to folder** operation to move messages between folders for IMAP and IMAPS
  connection providers.

- [Count messages with Email Connector](https://docs.mulesoft.com/email-connector/latest/email-connector-count-messages)  
  Configure the **Count messages - IMAP** and **Count messages - POP3** operations get the total
  amount of messages in a specified mailbox folder.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
