EmailRead

EmailRead smarty reads email recent 10 emails from the mail box and filter them based on match criteria.

aliasName

Email configuration is done in deployment. Aliasname that you want to use for this configuration

Must be a defined alias name from deployment

mailServer

Type of Mail server that you are connecting to. For popular mail server we have predefined props that will ease off configuration

Options: office365,gmail

protocol

Mail Access Protocol

Options:imaps,smtp,pop3s,pop3

host

Host name to connect to the mail server

Examples: outlook.office365.com

port

Port no to listen on

domain

Domain Name to access mail box

Optional. Mostly required if you mail server is linked to your active directory

username

Username to access mailbox

password

Password to access mailbox

sharedMailbox

Mailbox address of shared mailbox that you want to access

Optional

folder

folder in the mail box from which you want to fetch email

Optional: Default: Inbox

Example: Inbox/orders

matchCriteria

Matching text in subject or body.

Expression format: [fieldName]:[operation]:[value]

Supported operators: contains , equals Logical Operators: AND / OR (Make sure to give before and after Logical operators

Simple Eg: body:contains:Ram

With Dynamic Value Eg: subject:contains:${FirstName}

With Complex Logical Operation Eg: body:contains:Ram AND subject:equals:Inviated

matchOptions

Option to return single item or all

Default: firstOnly

Options:firstOnly,all

extract.field

Message Data field from which information to be extracted

Message Fields: subject,body,receivedDataTime,fromEmail,fromName,toEmails,toNames,ccEmail,ccNames,bccEmails,bccNames

extraction.operation

Extraction rules to be applied on the message field

Last updated