create_draft
Save a new outbound email as a local draft, optionally syncing it to Proton Drafts, so you can compose and review before sending.
Instructions
Save a new outbound message as a local draft in SQLite, optionally syncing it to the Proton Drafts IMAP folder. Use to compose and review before sending. Prefer create_reply_draft when replying to a specific emailId, or create_forward_draft when forwarding. Returns a draftId for later update, sync, or send via send_draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipient email addresses, comma-separated. | |
| to | No | Recipient email addresses, comma-separated. | |
| bcc | No | BCC recipient email addresses, comma-separated. | |
| body | Yes | Draft body. | |
| from | No | Send as this address instead of the Bridge login's default when the draft is sent (e.g. an alias or additional address on the same Proton account). Proton accepts any address verified on the account; an address not on the account is rejected by Proton at send time. | |
| notes | No | Optional local note for the draft. | |
| isHtml | No | Whether the body should be HTML. | |
| replyTo | No | Optional reply-to email address. | |
| subject | Yes | Draft subject. | |
| priority | No | ||
| attachments | No | Attachments with base64 encoded content. | |
| syncToRemote | No | Whether to sync the draft to the Proton Drafts mailbox when IMAP is available. |