imap_save_draft
Save an email draft to the Drafts folder without sending. Compose with recipients, subject, body, HTML, and attachments for later review.
Instructions
Save an email as a draft in the Drafts folder (no send). Takes the same fields as imap_send_email (including account defaultBcc when configured).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients. Either an array of addresses or a single comma-separated string. | |
| to | No | Recipient email address(es). Either an array of addresses or a single comma-separated string. | |
| bcc | No | BCC recipients. Either an array of addresses or a single comma-separated string; merged with the account defaultBcc when set. | |
| body | No | Alias for 'text' (backward-compat) | |
| html | No | HTML content | |
| text | No | Plain text content | |
| folder | No | Override the Drafts folder name (defaults to auto-detected Drafts folder) | |
| replyTo | No | Reply-to address | |
| subject | No | Email subject | |
| accountId | No | Account ID (from imap_list_accounts). Optional if accountName is given or only one account is configured. | |
| inReplyTo | No | Message-Id being replied to | |
| references | No | References header value(s) | |
| accountName | No | Account name instead of accountId. Optional if accountId is given or only one account is configured. | |
| attachments | No | Email attachments |