AgentMail icon

AgentMail

Email API for AI Agents - Create inboxes, send/receive emails, and more

Actions13

Inbox → List

AI-generated

Summary

Lists inboxes from AgentMail and returns each inbox as an n8n output item. Choose whether to fetch all available inboxes or cap the results with a limit.

Inputs

  • Return All — Defaults to false. When enabled, fetches inboxes across pages; the node stops after 100 pages.
  • Limit — Maximum inboxes to return when Return All is disabled. Defaults to 50; minimum is 1. The node requests pages of up to 100 and truncates the results to this limit.

Output shape

A list of inbox records, with one record per output item.

Reads the inboxes array from the API response; missing arrays produce no items. Pagination uses next_page_token and stops when there is no next token, the requested limit is reached, or 100 pages have been fetched.

Links

Discussion