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.

IMAP Connection

Settings related to establishing the connection to the IMAP server.

Authentication

Settings related to authenticating the connection.

Download

Settings related to processing messages.

Automation Tab

Automation Settings

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

Alerts Tab

SLAs Tab

Advanced Tab

Proxy Settings

Advanced Settings

Settings not included in the previous categories.

Message

Logging

Miscellaneous

Establishing a Connection

The following settings are required to establish a network-level connection to the IMAP server:
  • Host
  • Port
  • TLS Type
Use the Test Connection button to verify that the connector can reach the server. 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

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 Output 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