Actions37
- Calendar Actions
- Contact Actions
- Draft Actions
- Event Actions
- Folder Actions
- Folder Message Actions
- Message Actions
- Message Attachment Actions
Draft → Send
AI-generatedSummary
Send an existing draft email message identified by its draft ID, optionally overriding recipients by specifying new 'To' email addresses.
Inputs
- draftId (required) — The ID of the draft to send, which can be selected from a list or specified directly as a string.
- to — Comma-separated list of email addresses to override the recipients of the draft message when sending.
Output shape
a single object representing the sent message's metadata and status
The output includes details about the sent message; it does not paginate and returns data for the single sent draft. Errors during sending will be thrown.
Examples
Example 1: Send a saved draft email to its original recipients without modification.
Set the 'Draft' parameter by selecting a draft from the list; leave 'To' empty.
Example 2: Send a draft to different recipients than originally saved.
Set the 'Draft' parameter and specify new recipient emails in the 'To' field as a comma-separated string.