drafts
List Mail drafts to retrieve their message IDs for deleting or sending approved drafts; read-only and returns up to 25 pointers. Use IDs to pick specific drafts without subject matching.
Instructions
List Mail drafts, newest mailbox order. Returns {results, truncated?};
truncated means the 25 cap was reached. Each record is a citable pointer (id,
summary, deeplink, folder = "drafts") PLUS discrete subject and to fields, so
picking out one specific draft is a field comparison, not substring-matching the
summary — which collides whenever two drafts share a subject. The id is the RFC822
message-id: pass it to delete_draft, or to send_mail(draft_id=…) to send a
draft the human has approved.
A compose window Mail has not autosaved yet (~10-15s) is absent here — wait, do not
retry the create. Read-only; needs Automation access for Mail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||