create_draft
Create email drafts for new messages or threaded replies in your IMAP account's Drafts folder, with automatic header management for proper threading.
Instructions
Create a new email draft in the Drafts folder. Returns {id, subject, to, date} of the created draft. Optionally set in_reply_to with an email id to create a threaded reply draft (sets In-Reply-To and References headers automatically).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient email address. | |
| subject | Yes | Email subject line. | |
| body | Yes | Plain text email body. | |
| cc | No | CC recipient(s). | |
| bcc | No | BCC recipient(s). | |
| in_reply_to | No | ID of the email being replied to (for threading). Automatically sets In-Reply-To and References headers. |