delete_draft
Permanently delete a draft from local storage to discard an unwanted draft. Irreversible; requires explicit confirmation when enabled.
Instructions
Permanently delete a locally saved draft from SQLite. Use to discard a draft you no longer need. Does NOT remove a matching draft from the Proton Drafts IMAP folder — that requires a separate mailbox action. Irreversible; requires confirmed:true when PROTONMAIL_CONFIRM_DESTRUCTIVE is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Draft id returned by create_draft, list_drafts, or a create_*_draft call. | |
| confirmed | No | Pass true to confirm permanent deletion of the draft. Required when PROTONMAIL_CONFIRM_DESTRUCTIVE is enabled. |