Email

Get Email Count

Activity checks the inbox of an indicated address and returns the numer of emails as Emails Count.

To use the activity fill in the correct Login/Sender Email and Password for the email you want to access, as well as Protocol, Encryption method, Server Address and Port according to the email server’s settings.

getemail1
getemail2

Google & Microsoft OAuth

To use the activity with a Gmail or Microsoft email follow the respective manual for setting up the account for an external application’s access.

oauth1
oauth2

NOTE: It's recommended that the email address is reserved for robot use.

Acquired TextStringOutputtext input by user
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Application IDStringInputstring expression from Azure Active Directory (applies to Microsoft services) or Google Cloud (applies to Google services) obtained after the application registration process
Client SecretStringInputstring expression from Google Cloud obtained after the application registration process
Display NameLiteralInputchanges display name of the activity
Emails CountInt32Outputnumber of emails in inbox
Encryption MethodDropdownInputselect encryption method from the dropdown list
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
LoginStringInputlogin
PasswordStringInputpassword (string expression)
PortInt32Inputport number
ProtocolDropdownInputselect the appropriate option from the dropdown list
ProviderDropdownInputselect email provider from the dropdown list
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info
Server AddressStringInputaddress of e-mail server the robot logs on to
Tenant IDStringInputstring expression from Azure Active Directory obtained after the application registration process
Timeout [s]Int32Inputset time in seconds to connect to email server
Use OAuthBooleanInputcheckbox; default is "off"