Sign inGet started
Menu
TOOL REFERENCE / SOURCE GENERATEDMAILMAN MCP / MAIL

email_delete_draft

Deletes an unsent draft. Nothing was ever delivered, but the draft's content is gone and cannot be recovered — confirm before discarding work the user may still want. account_id must be the mailbox that owns the draft. idempotency_key is required so a retry after a timeout does not report a spurious DRAFT_NOT_FOUND.

Input fields

{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "minLength": 1,
      "description": "The connected mailbox to act on, from email_accounts_list. Never guess this value and never reuse one across mailboxes — it selects both the credential and the permission set the call runs under."
    },
    "draft_id": {
      "type": "string",
      "minLength": 1,
      "description": "The draft to discard (draft_...)."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "description": "A unique value you generate for this attempt, e.g. a UUID. Retrying with the same key returns the original result instead of acting twice. Reusing a key with different arguments is an IDEMPOTENCY_CONFLICT."
    }
  },
  "required": [
    "account_id",
    "draft_id",
    "idempotency_key"
  ]
}

Tool behavior

May change provider state. Check the explicit account, required access and provider capabilities before invoking.

Inspect isError and per-account errors. General write tools do not all enforce exact-plan approval. This reference does not certify any current AI client version.

YOUR AI POSTAL SYSTEM

YOUR INBOXES.
UNDER CONTROL.

Get started

Start with a free account and one read-only search. Existing accounts keep their connection.