save_draft
Save an email draft to iCloud for later editing or sending via Mail.app or iCloud.com. Supports plain text, HTML, recipients, and email threading headers.
Instructions
Save a draft email to your iCloud Drafts folder without sending it. Supports plain text, HTML, or both. The draft can be edited and sent later from Mail.app or iCloud.com.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Intended recipient(s), comma-separated or array | |
| subject | Yes | Email subject | |
| body | No | Plain text body (used as fallback when html is also provided) | |
| html | No | HTML body. If provided without body, plain text is auto-generated. If provided with body, saves multipart/alternative. | |
| cc | No | CC recipient(s) | |
| bcc | No | BCC recipient(s) | |
| inReplyTo | No | Message-ID of the email being replied to — sets In-Reply-To header for threading | |
| references | No | Space-separated Message-IDs for the References header — enables full thread linking | |
| account | No | Account whose Drafts folder to save into (e.g. "umd", "personal", "alt"). Defaults to iCloud. |