imap_save_draft
Compose and save an email as a draft in your IMAP Drafts folder without sending it. Define recipients, subject, body, and attachments.
Instructions
Save an email as a draft in the Drafts folder (no send). Takes the same fields as imap_send_email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients | |
| to | No | Recipient email address(es) | |
| bcc | No | BCC recipients | |
| 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 |