Actions13
Message → List
AI-generatedSummary
Lists messages in a selected AgentMail inbox, returning each message as an n8n item. Choose whether to fetch all available results or cap the list at a specified limit.
Inputs
- Inbox Name or ID (required) — Select an inbox from the available list or provide its ID using an expression.
- Return All — When enabled, fetches all available messages. Pagination stops when there are no more pages or after 100 pages.
- Limit — Maximum number of messages to return when Return All is disabled; defaults to 50.
Output shape
A list of n8n items, one per message.
Reads the messages array from the inbox messages API response. Results are fetched in pages of up to 100; with a limit, the output is capped at that number. Each message is returned as JSON.