List Threads
get_agentmail_inbox_threadsLists conversation threads in one inbox, newest first. Returns count, limit, next_page_token and threads; page with next_page_token. Each thread carries thread_id, labels, timestamp, senders, recipients, subject, preview, message_count, last_message_id, size and attachment metadata. Threads group messages; for the individual messages use get_agentmail_inbox_messages. To query rather than page, get_agentmail_inbox_threads_search.
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. | |
| inbox_id | Yes | The ID of the inbox. | |
| 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 | |||