Skip to main content
Version: Streamsheets 2.5

TWILIO.EMAIL.SEND

star This is a premium feature.

info

This function is experimental and subject to change or review.

Sends an email to specified contact. For Please refer to official Twilio API to specify a JSON object containing additional parameters. Please refer to https://www.twilio.com/docs/sms/send-messages for more information about available and supported options (as of 2021-07-30).

Syntax

=TWILIO.EMAIL.SEND(APIKey, TextOrJSON, [Subject], [ToContact], [FromContact], [ResponseTarget])

Arguments

NameTypeDescription
APIKeyAn API key or JSON to authorize against Twilio service
TextOrJSONThe text to send or a JSON which contains the text and additional required or optional parameters
Subject (optional)The subject of the email. Not required if specified within passed JSON.
ToContact (optional)StringThe recipient`s email address. Not required if specified within passed JSON.
FromContact (optional)StringAn email address used to deliver the message. Not required if specified within passed JSON.
ResponseTarget (optional)Specify inbox, outbox, cell or cell-range to write any response to.

Return

A unique random request ID which can be used with REQUESTINFO to check the state of the request. In case of an error the corresponding error-code is returned.

Examples

AB
1API-Keytwilio-api-key
2Messagehello email
3Subjecttest
4Toinfo@dummy.com
5Fromno@reply.com
FormulaResultComment
=TWILIO.EMAIL.SEND(B1,B2,B3,B4,B5,INBOX())
Sends an email with text "hello email" and subject "test" to info@dummy.com and shows response in inbox.