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