gmail_list_threads
Search Gmail with standard query syntax and return read-only thread metadata. Use page tokens to walk large result sets without fetching message bodies.
Instructions
Searches Gmail using standard Gmail query syntax and returns thread metadata only. Supports page tokens to walk large result sets. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Gmail search query, e.g. 'from:boss@company.com is:unread' | |
| page_token | No | Token from a previous next_page_token to fetch the next page | |
| max_results | No | Maximum number of threads to return | |
| include_from | No | Fetch From/Date headers per thread (extra API calls, enables sender stats) |