save_draft
Compose and save an unsent email draft to a Drafts mailbox, with optional recipients, attachments, and reply threading. Requires draft permission and obeys recipient allowlist.
Instructions
Compose and save an unsent draft to the configured drafts mailbox or unique special-use Drafts mailbox. Requires draft permission, not append or send. Recipients may be omitted; supplied recipients obey the recipient allowlist. The Draft flag is fixed; no arbitrary target or flags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | A list of CC email addresses. | |
| bcc | No | A list of BCC email addresses. | |
| body | Yes | The body of the email. | |
| html | No | Whether the email body is HTML (True) or plain text (False). | |
| subject | Yes | The subject of the email. | |
| recipients | No | Optional draft recipients; supplied addresses obey the recipient allowlist. | |
| references | No | Space-separated Message-IDs for the thread chain. Simple IDs may be bare or bracketed; bare IDs gain RFC angle brackets during composition. | |
| attachments | No | A list of file paths to attach. Relative paths are resolved against the server process working directory; absolute paths are recommended. | |
| in_reply_to | No | Message-ID of the email being replied to. Simple IDs may be bare or bracketed; bare IDs gain RFC angle brackets during composition. | |
| account_name | Yes | The name of the email account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |