ConsumeIMAP 2025.10.9.21

Bundle

org.apache.nifi | nifi-email-nar

Description

Consumes messages from Email Server using IMAP protocol. The raw-bytes of each received email message are written as contents of the FlowFile

Tags

Consume, Email, Get, Imap, Ingest, Ingress, Message

Input Requirement

FORBIDDEN

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Authorization ModeHow to authorize sending email on the user’s behalf.
Connection TimeoutThe amount of time to wait to connect to Email server
Delete MessagesSpecify whether mail messages should be deleted after retrieval.
Fetch SizeSpecify the maximum number of Messages to fetch per call to Email Server.
FolderEmail folder to retrieve messages from (e.g., INBOX)
Host NameNetwork address of Email server (e.g., pop.gmail.com, imap.gmail.com . .)
Mark Messages as ReadSpecify if messages should be marked as read after retrieval.
OAuth2 Access Token ProviderOAuth2 service that can provide access tokens.
PasswordPassword used for authentication and authorization with Email server.
PortNumeric value identifying Port of Email server (e.g., 993)
Use SSLSpecifies if IMAP connection must be obtained via SSL encrypted connection (i.e., IMAPS)
User NameUser Name used for authentication and authorization with Email server.

Relationships

NameDescription
successAll messages that are the are successfully received from Email server and converted to FlowFiles are routed to this relationship