Send/Receive Emails

These actions provide ability to send and receive emails using existing email servers.

Send/Receive Emails Actions

SendEmail

Sends an email using the configured email server. Event metadata fields applicable for this action are as follows:

Field
Definition
Example
Default

Input Element

Json path for the input in request event payload

parameters

-

With event metadata parameters as:

Parameter
Definition
Example
Default

Input Pattern

JMESPath pattern to apply on data input

{"from": from, "replyTo": replyTo, "to": to, "cc": cc, "subject": subject, "charset": charset, "text": text, "html": html}

-

ReceiveEmail

Receives details of a specific email with given UID using the configured email server. Event metadata fields applicable for this action are as follows:

Field
Definition
Example
Default

Input Element

Json path for the input in request event payload

parameters

-

Output Element

Json path for the output in response event payload

result

-

With event metadata parameters as:

Parameter
Definition
Example
Default

ID Path

Json path for the id field in input element

mail.id

id

No Content

Whether to discard email content details

true

false

Output Pattern

JMESPath pattern to apply on data output, before returning response

-

-

Last updated