Send/Receive Emails
These actions provide ability to send and receive emails using existing email servers.
Send/Receive Emails Actions
SendEmail
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SendEmail action eventMeta fields",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"inputElement": {
"type": "string",
"definition": "Json path for the input in request event payload",
"example": "parameters"
}
}
}
}
}Parameter
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SendEmail action eventMeta.parameters",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"inputPattern": {
"type": "string",
"definition": "JMESPath pattern to apply on data input",
"example": "{\"from\": from, \"replyTo\": replyTo, \"to\": to, \"cc\": cc, \"subject\": subject, \"charset\": charset, \"text\": text, \"html\": html}"
}
}
}
}
}
}
}ReceiveEmail
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ReceiveEmail action eventMeta fields",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"inputElement": {
"type": "string",
"definition": "Json path for the input in request event payload",
"example": "parameters"
},
"outputElement": {
"type": "string",
"definition": "Json path for the output in response event payload",
"example": "result"
}
}
}
}
}Parameter
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ReceiveEmail action eventMeta.parameters",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"idPath": {
"type": "string",
"definition": "Json path for the id field in input element",
"default": "id",
"example": "mail.id"
},
"noContent": {
"type": "boolean",
"definition": "Whether to discard email content details",
"default": false,
"example": true
},
"outputPattern": {
"type": "string",
"definition": "JMESPath pattern to apply on data output, before returning response"
}
}
}
}
}
}
}Last updated
