Create a draft
mail_create_draftSaves an email as a draft in the Drafts folder without sending it, so you can review and send it later from webmail or your phone.
Instructions
Saves a message as a draft in the Drafts folder (does not send). The user can then review it in webmail or on the phone and send it themselves, or mail_send_draft sends it by id. Same parameters as mail_send_email (including replying via in_reply_to_id and attachments).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Cc — a list of addresses as “name@domain” or “First Last <name@domain>”. | |
| to | No | Recipients — a list of addresses as “name@domain” or “First Last <name@domain>”. | |
| bcc | No | Bcc — a list of addresses as “name@domain” or “First Last <name@domain>”. | |
| from | No | Sender address; default is the address of the signed-in mailbox. Must be one of the account's allowed senders. | |
| html | No | Body as HTML (optional; when text is missing it is derived from the HTML). | |
| text | No | Message body as plain text (preferred). Write the signature yourself, the server adds none. | |
| account | No | Which account: leave empty for the signed-in mailbox, or name a shared mailbox / group you have access to (the part before @ is enough; a full address works too). mail_list_mailboxes shows what exists. | |
| subject | No | Subject. A reply gets “Re: …” automatically when it is missing. | |
| reply_to | No | Reply-To (where replies should go) — a list of addresses as “name@domain” or “First Last <name@domain>”. | |
| reply_all | No | For a reply: also copy the other original recipients. | |
| attachments | No | Full paths of files on this computer to attach (max. 25 MB each). | |
| in_reply_to_id | No | id of the message you are replying to — sets the thread (In-Reply-To/References), fills in the recipient and subject, marks the original as answered. |