Save a new draft
create_draftSave a new unsent Proton Mail draft or reply without sending it, then return the draft Message-ID for later use. Use it to prepare messages and attachments for review.
Instructions
Save a new unsent draft in Drafts and return its Message-ID; this never sends. If compose_reply is listed and the user wants to reply or compose, call compose_reply first: this is the no-view path.
If compose_reply is listed, call this after compose_reply's fields were shown and the user agreed, or let the composer view save; otherwise call it directly. It saves a reply (in_reply_to, the original's Message-ID, also sets References) or a new message; use forward_message to forward mail. It needs no preview. Each call appends one new draft and never edits or deletes another.
Attach files from the allowed folder (attachments, paths relative to PROTON_MCP_ATTACHMENTS_DIR) or copy them from a draft or message (attachments_from, with attachment_indexes from list_attachments). One draft holds at most 20 attachments and 7 MiB of them, and stays within the 10 MiB send limit. from_address must be one list_from_addresses allows.
Returns the draft's Message-ID, the draft_id other tools take. Refuses an absolute or missing file, too many or too large attachments, or a From address not allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | An address, or a list of addresses. | |
| to | Yes | An address such as a@example.test, or a list of addresses. | |
| body | Yes | The message text, as plain text. | |
| subject | Yes | The subject line. | |
| attachments | No | File paths relative to the allowed folder (PROTON_MCP_ATTACHMENTS_DIR); an absolute path refuses. Nothing else on this computer can be attached. | |
| in_reply_to | No | Message-ID being replied to; sets In-Reply-To and References. | |
| from_address | No | Use this From address instead of the default: one that list_from_addresses allows, exactly as listed. | |
| attachments_from | No | Message-ID of a saved draft or a message to copy attachments from. | |
| attachment_indexes | No | Which of its attachments to copy, as list_attachments numbers them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |