listGmailThreads
Retrieve Gmail threads with filters for search query, labels, and spam/trash. Use to list and manage email conversations directly.
Instructions
Retrieves a list of email threads/conversations from the user's Gmail account with optional filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query to filter threads (e.g., "from:example@gmail.com", "subject:meeting") | |
| labelIds | No | Array of label IDs to filter threads by | |
| maxResults | No | Maximum number of threads to return (1-100, default 10) | |
| includeSpamTrash | No | Include threads from spam and trash folders |