create_draft
Create a draft email in a specified Gmail account with recipients, subject, body, attachments, and threading options for replies.
Instructions
Create a draft email in one account (account required).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC list. | |
| to | Yes | Recipient email address(es). | |
| bcc | No | Optional BCC list. | |
| body | Yes | Email body. | |
| html | No | Set true to send body as text/html. | |
| account | Yes | Account id. | |
| subject | Yes | Email subject. | |
| thread_id | No | Optional Gmail thread ID. When set, the draft is created as a reply in that thread. | |
| references | No | Optional RFC 2822 References header value for threading. | |
| attachments | No | Optional local file attachments. | |
| in_reply_to | No | Optional RFC 2822 Message-ID of the email being replied to. Sets the In-Reply-To header for proper threading. |