gmail_list_threads
List Gmail threads matching a search query, with filters for labels, pagination, and control over spam/trash inclusion.
Instructions
List Gmail threads with optional search query
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Gmail search query to filter threads | |
| labelIds | No | Comma-separated label IDs to filter | |
| pageToken | No | Page token for pagination | |
| maxResults | No | Max threads to return (default 20, max 500) | |
| includeSpamTrash | No | Include SPAM and TRASH (default false) |