Email component
Use the Email component to send email messages from within a flow.
Configuration
The Email component has the following basic configuration options:
Authentication Type OAuth2?
Enabled this to have the Email component use the accessToken for authentication.
Configure your outbound email settings in the Tenant Manager under Variables: Server Settings - Outbound Email.
To
Defines the destination email address(es). Seperate multiple email addresses with a comma (,
).
Reply to
Defines the email address(es) the receiver is sending replies to. Seperate multiple email addresses with a comma (,
).
From
Define the sender's email address, when it should be different from the outbound email settings.
Subject
Define the subject of the email.
Set a header with the name subject
before the Email component to override this field with that header's value (it cannot have multiple lines).
Exchange Body
Configure how the Exchange Body is being sent.
Options
As email body
(default)As attachment
Select As email body
and the content of the email is the message the Email component received from its preceding component. Choose As attachment
if you want to add the message the Email component received from its preceding component to the email as an attachment.
If you sent the Exchange body As attachment
:
- The headers named
CamelFileName
andContent-Type
can be set before the Email component (or overridden if they were already existing) to specifiy the filename and content type of the attachment. - If these headers are not set, a
File Name
will be generated and theContent-Type
discovered by Dovetail.
Email Body
Define a template for the email body.
- Only available when Exchange Body is set to
As attachment
.
Setup Outbound Email
Configure the outbound email settings for the account you want to send emails with in the Tenant Manager under Variables: Server Settings - Outbound Email.
Verify your email settings and credentials are correct by configuring it in an email application; we like to use Thunderbird for validation (download). Do not use webmail to verify your settings.