Actions26
Thread → Get Many
AI-generatedSummary
Retrieves Gmail threads that match the configured filters and returns up to the selected limit, or all matching results when Return All is enabled.
Inputs
- Client ID, Client Secret, Refresh Token, Access Token (required) — Google OAuth credentials. The UI describes the refresh token as used to obtain an access token dynamically; the access token is also required.
- Authentication — Select OAuth2 (recommended) or Service Account.
- Return All — When false, return up to the configured Limit (default 50; allowed range 1–500). When true, fetch all matching threads.
- Filters — Optionally include Spam and Trash, require threads to have all selected label IDs, and provide a Gmail search query. Read Status can include both read and unread messages, unread only, or read only. Received After and Received Before set date bounds.
Output shape
A list of matching Gmail thread items.
Return All controls whether results are limited; the operation-scoped properties do not specify the returned fields or pagination details.