List Threads
mailbox_list_threadsScan email conversation threads using filters like search, unread, attachments, and participant. Paginate with cursor to fetch only additional threads when needed.
Instructions
Use this to scan conversation threads without loading every message. Continue with next_cursor only when additional threads are needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text search query across thread messages. | |
| after | No | Filter to threads updated after this ISO 8601 timestamp. | |
| limit | No | Maximum results (default 50, max 100). | |
| before | No | Filter to threads updated before this ISO 8601 timestamp. | |
| cursor | No | Pagination cursor — the `next_cursor` from the previous response. | |
| folder_id | No | Filter to threads with messages in this folder ID. | |
| is_unread | No | When true, only return threads with unread messages. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| participant | No | Filter by participant email address or display name. | |
| has_attachment | No | When true, only return threads with attachments. | |
| sort_direction | No | Sort direction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||