Actions13
Mailbox → Get Status
AI-generatedSummary
Fetches and returns status statistics for a selected IMAP mailbox.
Inputs
- Mailbox (required) — Select the mailbox to query. The selector uses a resource locator that can list available mailboxes or accept a full path string.
- authentication (required) — Select the credential type to use: 'IMAP Fork Credentials' (defined in this node) or 'N8N IMAP Trigger Node' (existing credentials).
Output shape
A single record containing mailbox status fields such as message count, recent count, unseen count, UID next value, UID validity, and highest modseq.
Returns an empty array if the server does not support the requested status fields or does not return a status response.
Examples
Example 1: Monitor Inbox for new messages
Select 'IMAP Fork Credentials', set Mailbox to INBOX. Use the returned 'recent' and 'unseen' counts to trigger workflows for new emails.
Example 2: Track mailbox sequence numbers
Select 'IMAP Fork Credentials', set Mailbox to 'Archive/2024'. Use 'uidNext' to determine the next available UID for appending or moving emails.