Skip to main content
The Email Receive connector supports retrieving messages from an IMAP mail server.

Key Capabilities

  • IMAP-based email polling with OAuth 2.0 support for modern providers
  • Advanced filtering with IMAP RFC compliant search filters
  • Support for downloading full messages or attachments only
  • Configurable message retention and deletion policies

Overview

The Email Receive connector provides a simple way to automate the process of receiving emails. The connector connects to an IMAP server and polls a specified mailbox for new messages to process. By default the connector only receives messages that have not yet been processed, and it supports additional IMAP filters. The connector supports receiving entire messages in EML format or only downloading attachments on the emails being processed.
OAuth 2.0 configuration for Outlook and Gmail mail servers are the two most common connection configurations made in the Email Receive connector. You can access additional guides and resources for these two mail servers in the CData Community. See Using OAuth 2.0 in the Email Send and Receive Connectors.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

Email Receive Configuration

Settings related to establishing the connection.

Establish a Connection

To allow to receive emails, you must first establish an Email Receive connection. Once established, connections can be shared across multiple Email Receive connectors. There are several ways to establish this connection:
  1. Add an Email Receive connector to your flow. Then use the Connection dropdown to select an existing connection or click Create to add a new connection.
  2. Open the Settings page, then open the Connections tab. Click Add, select Email Receive, and click Next.
    If you create the connection this way, you must still select it from the Connection dropdown on the connector.
Complete the following properties: The following settings are required to establish a network-level connection to the IMAP server:
  • Host
  • Port
  • TLS Type
Once network-level connectivity has been established, the following settings are required to access the messages stored on the IMAP server:
  • User
  • Password or OAuth 2.0 authentication credentials
  • Mailbox
Use the Add and Test button to verify that the connector can reach the server.

Download

Settings related to processing messages.

Advanced Tab

Advanced Settings

Settings not included in the previous categories.

Proxy Settings

Logging

Miscellaneous

Automation Tab

Automation Settings

Settings related to the automatic processing of files by the connector.

Alerts Tab

SLAs Tab

Transactions Tab

This tab lists all messages associated with the connector. Use the search bar to find specific messages, or click the funnel icon to apply a filter. You can filter by tracked headers, time, and/or status.

Receiving Emails

If Receive Automation is enabled, the Email Receive connector automatically polls the configured IMAP mailbox for messages to download. By default, the connector only receives messages it has not already downloaded. The first time the connector receives messages, use the Days to Search setting in the Download configuration section to specify the range of messages to download. Messages can also be manually retrieved by clicking the Receive button on the Transactions tab of the connector. The Download Type setting determines whether full messages or just message attachments are downloaded. Downloaded files are placed in the Output Folder or passed along to the next connector in the flow. When Download Type is set to Attachments, the connector adds two headers to each message:
  • EmailReceive-Attachment-Index: The attachment number for each attachment
  • EmailReceive-Attachment-Count: The total number of attachments on the email

Search Filters

The IMAP Search Filter setting allows for further customization of the range of messages to retrieve. This field accepts standard IMAP protocol filters and only downloads messages that match the configured filters. The following filters are supported:

Macros

Examples