draft_create
Save a new email as a draft in the account's Drafts folder without sending it; supports IMAP, EWS, or Graph based on account configuration.
Instructions
Save a new email as a draft in the account's Drafts folder (IMAP, EWS or Graph, chosen from the account's configuration). Nothing is sent. Requires MAIL_DRAFTS_ENABLED=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients (optional, max 50) | |
| to | Yes | Recipient email addresses (1..50) | |
| bcc | No | BCC recipients (optional, max 50); kept on the draft until it is sent | |
| subject | Yes | Email subject (1..998 characters) | |
| reply_to | No | Reply-To address (optional) | |
| body_html | No | HTML body (at least one of body_text or body_html required) | |
| body_text | No | Plain text body (at least one of body_text or body_html required) | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
| references | No | References header for threading (optional) | |
| attachments | No | File attachments (optional) | |
| in_reply_to | No | In-Reply-To message ID for threading (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |