Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Email Trigger (IMAP)

proto.imap_trigger · version 2 · Trigger · poll trigger

Start a workflow for each new email in an IMAP mailbox.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

SlotAccepted kindsRequired
imapproto.imapyes

Parameters

NameTypeDefaultRequiredShown whenDescription
mailboxstring"INBOX"
postProcessActionoptions"read"After Reading. One of read, nothing.
formatoptions"simple"Output Format. One of simple, resolved, raw.
downloadAttachmentsbooleanfalseformat = simpleDownload Attachments.
dataPropertyAttachmentsPrefixNamestring"attachment_"format = simple, resolvedAttachment Field Prefix.
optionscollection
options.customEmailConfigjson"[\"UNSEEN\"]"Search Rules. JSON list of IMAP search rules, for example [“UNSEEN”, [“SINCE”, “2024-05-01”]].
options.allowUnauthorizedCertsbooleanfalseAccept Invalid Certificates.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.emailReadImap1unverified
n8n-nodes-base.emailReadImap2unverified