Skip to content

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

FieldTypeRequiredDescription
Inbox Configuration › Inbox AddressTextYesGenerated 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.

json
{
  "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
FieldTypeDescription
accessUrlsObjectURLs for fetching the stored email and its attachments
apiAccessObjectAPI details for fetching the stored email
attachmentCountNumberNumber of attachments
configuredInboxAddressTextInbox address set on this trigger
correlationIdTextCorrelation ID of the event
detailTypeTextType of the inbound mail event
fromTextSender address
hasAttachmentsYes / NoWhether the email has attachments
htmlTextHTML body
idTextID of the inbound mail event
inboxAddressTextInbox address that received the email
isAuthenticatedObjectSender authentication results
messageIdTextMessage-ID of the email
organizationIdTextOrganization that owns the inbox
rawDataAnyThe unparsed event, set only when it could not be read as an email event
sourceTextSource of the inbound mail event
sourceIpTextIP address the email was sent from
spamScoreNumberSpam score assigned on receipt
stageTextProcessing stage reported with the event
subjectTextSubject line
textTextPlain-text body
timestampTextWhen the email was received
toTextRecipient address
triggerTypeTextAlways external.mail

Actions ​

Steps this node can perform. Add one from Add a step, then pick the action.

Send Mail ​

Send mail message

Settings

FieldTypeRequiredDescription
ToTextYesThe email address of the recipient
SubjectTextYesThe subject of the email
FormatChoiceYesThe format of the email body
Options: Plain Text, HTML
Default: text
TextTextYesThe body of the email
AttachmentsListAttachments (Max 10 files, 3MB each)
CCTextThe CC email address of the email
BCCTextThe 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.

json
{
  "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
FieldTypeDescription
toTextThe email address of the recipient
subjectTextThe subject of the email
textTextThe body of the email
ccTextThe CC email address of the email
bccTextThe BCC email address of the email