Mail
Send and receive mail messages
This node signs in with a credential: SMTP, OCS. See Connect a credential.
Triggers
Events from this node that can start a flow. Add one from Choose a trigger.
Mail Trigger
Trigger flows when emails are received at a generated inbox address
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Inbox Configuration › Inbox Address | Text | Yes | Generated email address that will trigger this flow when emails are received |
Output
Later steps use this data through Current Trigger in the $ picker. For example, accessUrls is $trigger.output.accessUrls.
{
"accessUrls": {},
"apiAccess": {},
"attachmentCount": 0,
"configuredInboxAddress": "string",
"correlationId": "string",
"detailType": "string",
"from": "string",
"hasAttachments": false,
"html": "string",
"id": "string",
"inboxAddress": "string",
"isAuthenticated": {},
"messageId": "string",
"organizationId": "string",
"rawData": "string",
"source": "string",
"sourceIp": "string",
"spamScore": 0,
"stage": "string",
"subject": "string",
"text": "string",
"timestamp": "string",
"to": "string",
"triggerType": "string"
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
accessUrls | Object | URLs for fetching the stored email and its attachments |
apiAccess | Object | API details for fetching the stored email |
attachmentCount | Number | Number of attachments |
configuredInboxAddress | Text | Inbox address set on this trigger |
correlationId | Text | Correlation ID of the event |
detailType | Text | Type of the inbound mail event |
from | Text | Sender address |
hasAttachments | Yes / No | Whether the email has attachments |
html | Text | HTML body |
id | Text | ID of the inbound mail event |
inboxAddress | Text | Inbox address that received the email |
isAuthenticated | Object | Sender authentication results |
messageId | Text | Message-ID of the email |
organizationId | Text | Organization that owns the inbox |
rawData | Any | The unparsed event, set only when it could not be read as an email event |
source | Text | Source of the inbound mail event |
sourceIp | Text | IP address the email was sent from |
spamScore | Number | Spam score assigned on receipt |
stage | Text | Processing stage reported with the event |
subject | Text | Subject line |
text | Text | Plain-text body |
timestamp | Text | When the email was received |
to | Text | Recipient address |
triggerType | Text | Always external.mail |
Actions
Steps this node can perform. Add one from Add a step, then pick the action.
Send Mail
Send mail message
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| To | Text | Yes | The email address of the recipient |
| Subject | Text | Yes | The subject of the email |
| Format | Choice | Yes | The format of the email body Options: Plain Text, HTMLDefault: text |
| Text | Text | Yes | The body of the email |
| Attachments | List | Attachments (Max 10 files, 3MB each) | |
| CC | Text | The CC email address of the email | |
| BCC | Text | The BCC email address of the email |
Output
Later steps use this data by picking this step in the $ picker. For example, to is $.<step ID>.output.to.
{
"to": "string",
"subject": "string",
"text": "string",
"cc": "string",
"bcc": "string"
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
to | Text | The email address of the recipient |
subject | Text | The subject of the email |
text | Text | The body of the email |
cc | Text | The CC email address of the email |
bcc | Text | The BCC email address of the email |