List All Threads
get_agentmail_threadsLists conversation threads across every inbox in the account. Returns count, limit, next_page_token and threads; page with next_page_token. Each thread carries thread_id, inbox_id, labels, timestamp, senders, recipients, subject, preview, message_count and last_message_id. 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_threads 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. | |
| include_spam | No | Include spam in results. | |
| Authorization | Yes | Bearer authentication | |
| include_trash | No | Include trash in results. | |
| include_blocked | No | Include blocked in results. | |
| include_unauthenticated | No | Include unauthenticated in results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||