Inbound Email component
The Inbound Email component is used to retrieve email messages and/or attachments from an email server. After retrieving messages and/or attachments, they are sent to the next component in the flow.
Configuration
This component has the following configuration options:
Protocol
Specifies the protocol used to connect to the email server.
Options
imap
(default)imaps
pop3
pop3s
smtp
smtps
Host
Defines the hostname of the email server.
If the mail server you are connecting to uses an SSL Certificate, it should work out of the box as long as it is signed by a default trusted certificate authority. If the mail server uses a self-signed
certificate or a certificate not signed by a default trusted certificate authority, it must be imported manually. Please contact your Dovetail provider for support.
Port
Defines the port of the email server.
Authentication Type
Specifies the authentication type used to log in to the email server.
Options
Basic
(default)OAuth
Username
Defines the username or email account used to log in to the email server.
This refers to the email account you want to access when Authentication Type is set to OAuth
.
Password
Defines the password used to log in to the email server.
Only available when the Authentication Type is set to Basic
.
Access Token
Defines the access token used for authentication on the email server.
Only available when the Authentication Type is set to OAuth
.
- Use the
@{tenantVariableName}
syntax to retrieve the access token from the Tenant Variables. - Refer to the SetOAuth2Token component page on how to set up access tokens.
Content
Specifies whether the message body and/or attachments should be retrieved, put on the body and sent to the next component.
Options
Message body
(default)Attachments
Message body and attachments
No attachments
If you attempt to retrieve attachments from an email that does not have any, the body is processed and sent to the next component instead. A header named noAttachmentsFound
with the value true
is set to indicate this.
Use a simple expression like ${header.noAttachmentsFound} == true
in a Filter component or Content Router component to handle such cases.