List All Drafts
get_agentmail_draftsLists unsent drafts across every inbox in the account. Returns count, limit, next_page_token and drafts; page with next_page_token. Each draft carries draft_id, inbox_id, to, cc, bcc, subject, preview, attachments, send_status and send_at. List items carry preview only — text and html come from get_agentmail_draft. This is the organization-wide view spanning every inbox in the account. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created; the inbox-scoped twin get_agentmail_inbox_drafts is the one to use when a single inbox is meant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Timestamp after which to filter by. | |
| limit | No | Limit of number of items returned. | |
| before | No | Timestamp before which to filter by. | |
| labels | No | Labels to filter by. | |
| ascending | No | Sort in ascending temporal order. | |
| page_token | No | Page token for pagination. | |
| Authorization | Yes | Bearer authentication |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||