create_draft
Compose and save a draft email in Gmail using recipient lists, subject, and body, or supply a raw RFC 2822 encoded message.
Instructions
Create a draft email in Gmail. Note the mechanics of the raw parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | The entire email message in base64url encoded RFC 2822 format, ignores params.to, cc, bcc, subject, body, includeBodyHtml if provided | |
| threadId | No | The thread ID to associate this draft with | |
| to | No | List of recipient email addresses | |
| cc | No | List of CC recipient email addresses | |
| bcc | No | List of BCC recipient email addresses | |
| subject | No | The subject of the email | |
| body | No | The body of the email | |
| includeBodyHtml | No | Whether to include the parsed HTML in the return for each body, excluded by default because they can be excessively large |