Actions26
Message → Get Many
AI-generatedSummary
Lists Gmail messages that match the configured filters, returning either all matches or up to a specified limit. Choose simplified output by default, or enable attachment downloads through the options available when Simplify is off.
Inputs
- Client ID, Client Secret, Refresh Token, Access Token (required) — OAuth values declared by the operation properties for Google authentication.
- Authentication — Select OAuth2 (default) or Service Account.
- Return All — When false, return up to Limit messages (default 50); when true, fetch all matching messages.
- Limit — Maximum number of messages when Return All is false; declared range is 1–500.
- Simplify — Defaults to true and controls whether the response is simplified. Attachment options are shown when this is false.
- Filters — Optionally include Spam and Trash, require all selected labels, apply a Gmail search query, filter by read status, received-after/before dates, or sender. Read Status defaults to unread.
- Options — When Simplify is false, optionally download attachments and set their binary property name prefix (default
attachment_).
Output shape
A list of matching Gmail message items.
The properties declare simplified output by default; with Simplify off, the raw response can be returned. If attachment downloads are enabled, attachment data is included in the output under binary property names using the configured prefix and a zero-based index. The source pack omits method bodies, so runtime response details could not be confirmed from it.