<extensionManifest><groupId>org.apache.nifi</groupId><artifactId>nifi-email-nar</artifactId><version>2.2.0</version><parentNar><groupId>org.apache.nifi</groupId><artifactId>nifi-standard-services-api-nar</artifactId><version>2.2.0</version></parentNar><systemApiVersion>2.0.0</systemApiVersion><buildInfo><tag>rel/nifi-2.2.0</tag><branch>main</branch><revision>1</revision></buildInfo><extensions><extension><name>org.apache.nifi.processors.email.ConsumeIMAP</name><type>PROCESSOR</type><description>Consumes messages from Email Server using IMAP protocol. The raw-bytes of each received email message are written as contents of the FlowFile</description><tags><tag>Email</tag><tag>Imap</tag><tag>Get</tag><tag>Ingest</tag><tag>Ingress</tag><tag>Message</tag><tag>Consume</tag></tags><properties><property><name>host</name><displayName>Host Name</displayName><description>Network address of Email server (e.g., pop.gmail.com, imap.gmail.com . . .)</description><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>port</name><displayName>Port</displayName><description>Numeric value identifying Port of Email server (e.g., 993)</description><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>authorization-mode</name><displayName>Authorization Mode</displayName><description>How to authorize sending email on the user's behalf.</description><defaultValue>password-based-authorization-mode</defaultValue><allowableValues><allowableValue><displayName>Use Password</displayName><value>password-based-authorization-mode</value><description>Use password</description></allowableValue><allowableValue><displayName>Use OAuth2</displayName><value>oauth-based-authorization-mode</value><description>Use OAuth2 to acquire access token</description></allowableValue></allowableValues><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>oauth2-access-token-provider</name><displayName>OAuth2 Access Token Provider</displayName><description>OAuth2 service that can provide access tokens.</description><controllerServiceDefinition><className>org.apache.nifi.oauth2.OAuth2AccessTokenProvider</className><groupId>org.apache.nifi</groupId><artifactId>nifi-standard-services-api-nar</artifactId><version>2.2.0</version></controllerServiceDefinition><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic><dependencies><dependency><propertyName>authorization-mode</propertyName><propertyDisplayName>Authorization Mode</propertyDisplayName><dependentValues><dependentValue>oauth-based-authorization-mode</dependentValue></dependentValues></dependency></dependencies></property><property><name>user</name><displayName>User Name</displayName><description>User Name used for authentication and authorization with Email server.</description><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>password</name><displayName>Password</displayName><description>Password used for authentication and authorization with Email server.</description><required>true</required><sensitive>true</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic><dependencies><dependency><propertyName>authorization-mode</propertyName><propertyDisplayName>Authorization Mode</propertyDisplayName><dependentValues><dependentValue>password-based-authorization-mode</dependentValue></dependentValues></dependency></dependencies></property><property><name>folder</name><displayName>Folder</displayName><description>Email folder to retrieve messages from (e.g., INBOX)</description><defaultValue>INBOX</defaultValue><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>fetch.size</name><displayName>Fetch Size</displayName><description>Specify the maximum number of Messages to fetch per call to Email Server.</description><defaultValue>10</defaultValue><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>delete.messages</name><displayName>Delete Messages</displayName><description>Specify whether mail messages should be deleted after retrieval.</description><defaultValue>false</defaultValue><allowableValues><allowableValue><displayName>true</displayName><value>true</value><description></description></allowableValue><allowableValue><displayName>false</displayName><value>false</value><description></description></allowableValue></allowableValues><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>connection.timeout</name><displayName>Connection timeout</displayName><description>The amount of time to wait to connect to Email server</description><defaultValue>30 sec</defaultValue><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>Mark Messages as Read</name><displayName>Mark Messages as Read</displayName><description>Specify if messages should be marked as read after retrieval.</description><defaultValue>false</defaultValue><allowableValues><allowableValue><displayName>true</displayName><value>true</value><description></description></allowableValue><allowableValue><displayName>false</displayName><value>false</value><description></description></allowableValue></allowableValues><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>Use SSL</name><displayName>Use SSL</displayName><description>Specifies if IMAP connection must be obtained via SSL encrypted connection (i.e., IMAPS)</description><defaultValue>true</defaultValue><allowableValues><allowableValue><displayName>true</displayName><value>true</value><description></description></allowableValue><allowableValue><displayName>false</displayName><value>false</value><description></description></allowableValue></allowableValues><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property></properties><relationships><relationship><name>success</name><description>All messages that are the are successfully received from Email server and converted to FlowFiles are routed to this relationship</description><autoTerminated>false</autoTerminated></relationship></relationships><writesAttributes></writesAttributes><inputRequirement>INPUT_FORBIDDEN</inputRequirement></extension><extension><name>org.apache.nifi.processors.email.ConsumePOP3</name><type>PROCESSOR</type><description>Consumes messages from Email Server using POP3 protocol. The raw-bytes of each received email message are written as contents of the FlowFile</description><tags><tag>Email</tag><tag>POP3</tag><tag>Get</tag><tag>Ingest</tag><tag>Ingress</tag><tag>Message</tag><tag>Consume</tag></tags><properties><property><name>host</name><displayName>Host Name</displayName><description>Network address of Email server (e.g., pop.gmail.com, imap.gmail.com . . .)</description><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>port</name><displayName>Port</displayName><description>Numeric value identifying Port of Email server (e.g., 993)</description><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>authorization-mode</name><displayName>Authorization Mode</displayName><description>How to authorize sending email on the user's behalf.</description><defaultValue>password-based-authorization-mode</defaultValue><allowableValues><allowableValue><displayName>Use Password</displayName><value>password-based-authorization-mode</value><description>Use password</description></allowableValue><allowableValue><displayName>Use OAuth2</displayName><value>oauth-based-authorization-mode</value><description>Use OAuth2 to acquire access token</description></allowableValue></allowableValues><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>oauth2-access-token-provider</name><displayName>OAuth2 Access Token Provider</displayName><description>OAuth2 service that can provide access tokens.</description><controllerServiceDefinition><className>org.apache.nifi.oauth2.OAuth2AccessTokenProvider</className><groupId>org.apache.nifi</groupId><artifactId>nifi-standard-services-api-nar</artifactId><version>2.2.0</version></controllerServiceDefinition><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic><dependencies><dependency><propertyName>authorization-mode</propertyName><propertyDisplayName>Authorization Mode</propertyDisplayName><dependentValues><dependentValue>oauth-based-authorization-mode</dependentValue></dependentValues></dependency></dependencies></property><property><name>user</name><displayName>User Name</displayName><description>User Name used for authentication and authorization with Email server.</description><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>password</name><displayName>Password</displayName><description>Password used for authentication and authorization with Email server.</description><required>true</required><sensitive>true</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic><dependencies><dependency><propertyName>authorization-mode</propertyName><propertyDisplayName>Authorization Mode</propertyDisplayName><dependentValues><dependentValue>password-based-authorization-mode</dependentValue></dependentValues></dependency></dependencies></property><property><name>folder</name><displayName>Folder</displayName><description>Email folder to retrieve messages from (e.g., INBOX)</description><defaultValue>INBOX</defaultValue><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>fetch.size</name><displayName>Fetch Size</displayName><description>Specify the maximum number of Messages to fetch per call to Email Server.</description><defaultValue>10</defaultValue><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>delete.messages</name><displayName>Delete Messages</displayName><description>Specify whether mail messages should be deleted after retrieval.</description><defaultValue>false</defaultValue><allowableValues><allowableValue><displayName>true</displayName><value>true</value><description></description></allowableValue><allowableValue><displayName>false</displayName><value>false</value><description></description></allowableValue></allowableValues><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>connection.timeout</name><displayName>Connection timeout</displayName><description>The amount of time to wait to connect to Email server</description><defaultValue>30 sec</defaultValue><required>true</required><sensitive>false</sensitive><expressionLanguageSupported>true</expressionLanguageSupported><expressionLanguageScope>ENVIRONMENT</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property></properties><relationships><relationship><name>success</name><description>All messages that are the are successfully received from Email server and converted to FlowFiles are routed to this relationship</description><autoTerminated>false</autoTerminated></relationship></relationships><writesAttributes></writesAttributes><inputRequirement>INPUT_FORBIDDEN</inputRequirement></extension><extension><name>org.apache.nifi.processors.email.ExtractEmailAttachments</name><type>PROCESSOR</type><description>Extract attachments from a mime formatted email file, splitting them into individual flowfiles.</description><tags><tag>split</tag><tag>email</tag></tags><relationships><relationship><name>failure</name><description>FlowFiles that could not be parsed</description><autoTerminated>false</autoTerminated></relationship><relationship><name>original</name><description>The original file</description><autoTerminated>false</autoTerminated></relationship><relationship><name>attachments</name><description>Each individual attachment will be routed to the attachments relationship</description><autoTerminated>false</autoTerminated></relationship></relationships><writesAttributes><writesAttribute><name>filename </name><description>The filename of the attachment</description></writesAttribute><writesAttribute><name>email.attachment.parent.filename </name><description>The filename of the parent FlowFile</description></writesAttribute><writesAttribute><name>email.attachment.parent.uuid</name><description>The UUID of the original FlowFile.</description></writesAttribute><writesAttribute><name>mime.type</name><description>The mime type of the attachment.</description></writesAttribute></writesAttributes><supportsBatching>true</supportsBatching><sideEffectFree>true</sideEffectFree><inputRequirement>INPUT_REQUIRED</inputRequirement></extension><extension><name>org.apache.nifi.processors.email.ExtractEmailHeaders</name><type>PROCESSOR</type><description>Using the flowfile content as source of data, extract header from an RFC compliant  email file adding the relevant attributes to the flowfile. This processor does not perform extensive RFC validation but still requires a bare minimum compliance with RFC 2822</description><tags><tag>split</tag><tag>email</tag></tags><properties><property><name>CAPTURED_HEADERS</name><displayName>Additional Header List</displayName><description>COLON separated list of additional headers to be extracted from the flowfile content.NOTE the header key is case insensitive and will be matched as lower-case. Values will respect email contents.</description><defaultValue>x-mailer</defaultValue><required>false</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property><property><name>STRICT_ADDRESS_PARSING</name><displayName>Email Address Parsing</displayName><description>If "strict", strict address format parsing rules are applied to mailbox and mailbox list fields, such as "to" and "from" headers, and FlowFiles with poorly formed addresses will be routed to the failure relationship, similar to messages that fail RFC compliant format validation. If "non-strict", the processor will extract the contents of mailbox list headers as comma-separated values without attempting to parse each value as well-formed Internet mailbox addresses. This is optional and defaults to Strict Address Parsing</description><defaultValue>true</defaultValue><allowableValues><allowableValue><displayName>Strict Address Parsing</displayName><value>true</value><description>Strict email address format will be enforced. FlowFiles will be transfered to the failure relationship if the email address is invalid.</description></allowableValue><allowableValue><displayName>Non-Strict Address Parsing</displayName><value>false</value><description>Accept emails, even if the address is poorly formed and doesn't strictly comply with RFC Validation.</description></allowableValue></allowableValues><required>false</required><sensitive>false</sensitive><expressionLanguageSupported>false</expressionLanguageSupported><expressionLanguageScope>NONE</expressionLanguageScope><dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath><dynamic>false</dynamic></property></properties><relationships><relationship><name>success</name><description>Extraction was successful</description><autoTerminated>false</autoTerminated></relationship><relationship><name>failure</name><description>Flowfiles that could not be parsed as a RFC-2822 compliant message</description><autoTerminated>false</autoTerminated></relationship></relationships><writesAttributes><writesAttribute><name>email.headers.bcc.*</name><description>Each individual BCC recipient (if available)</description></writesAttribute><writesAttribute><name>email.headers.cc.*</name><description>Each individual CC recipient (if available)</description></writesAttribute><writesAttribute><name>email.headers.from.*</name><description>Each individual mailbox contained in the From  of the Email (array as per RFC-2822)</description></writesAttribute><writesAttribute><name>email.headers.message-id</name><description>The value of the Message-ID header (if available)</description></writesAttribute><writesAttribute><name>email.headers.received_date</name><description>The Received-Date of the message (if available)</description></writesAttribute><writesAttribute><name>email.headers.sent_date</name><description>Date the message was sent</description></writesAttribute><writesAttribute><name>email.headers.subject</name><description>Subject of the message (if available)</description></writesAttribute><writesAttribute><name>email.headers.to.*</name><description>Each individual TO recipient (if available)</description></writesAttribute><writesAttribute><name>email.attachment_count</name><description>Number of attachments of the message</description></writesAttribute></writesAttributes><supportsBatching>true</supportsBatching><sideEffectFree>true</sideEffectFree><inputRequirement>INPUT_REQUIRED</inputRequirement></extension></extensions></extensionManifest>