IMAP Fork icon

IMAP Fork

Retrieve emails via IMAP using the n8n-nodes-imap-fork-test package

Mailbox → Get Many

AI-generated

Summary

Retrieves a list of all mailboxes available on the connected IMAP account.

Inputs

  • authentication (required) — Type of credentials to use: 'IMAP Fork Credentials' for custom-defined credentials or 'N8N IMAP Trigger Node' for existing credentials.
  • includeStatusFields — Optional flags to include additional mailbox status information (Message Count, Recent Count, Unseen Count, UID Next, UID Validity, Highest Modseq). Including these may slow down the response.

Output shape

a list of items, each containing mailbox path, name, and optional status details.

Status fields are optional and are only included if selected. The node returns a JSON object with keys 'path', 'name', and 'status' for each mailbox.

Examples

Example 1: List all mailboxes with basic information

Use 'IMAP Fork Credentials', leave 'Include Status Fields' empty.

Example 2: List mailboxes including message counts

Use 'IMAP Fork Credentials', select 'Message Count' from 'Include Status Fields'.

Links

Discussion