email@v1

Send an email.

Versionemail@v1
Runs ininbound-call and your own branches · api-initiated and inbound-sms · hangup, postHangup and events.ready

Parameters

NameTypeRequiredDefaultDescription
toarray of email addressyes1..10 items · accepts ${{ }}
subjectstringyes1..1024 characters
textstringyes1..10240 characters
fromNamestring1..255 characters · accepts ${{ }}
replyToemail address1..1024 characters · accepts ${{ }}

Every parameter that accepts ${{ }} can be computed from an expression.

Examples

Sends an email from [email protected]

You can set the sender name and the reply-to but not the email address, because of SPF/DKIM restrictions.

- action: email@v1
  params:
    fromName: My Company # optional
    replyTo: [email protected]
    to:
      - [email protected]
      - [email protected]
    subject: You received a call from ${{ call.fromNumber }}
    text: |
      Hello,

      You received a call from ${{ call.fromNumber }}.
      Number called: ${{ call.toNumber }} (${{ scenario.name }}).

      Sincerely.

Result

Set result: $myVariable to keep it. true when the email was sent, false otherwise (missing to, subject or text, or a sending error)

Type: boolean

true

Did this page help you?