Email

Get Email Count

This activity counts how many mails there are in a inbox of the indicated account.

NOTE: the activity works properly as long as no other program nor human uses the same mailbox as Wizlink.

v2_email_count
Parameter NameParameter TypeIn/OutDescription
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 NameLiteralInputyou can change the name of activity for greater clarity of the scenario
Encryption MethodDropdownInputselect the appropriate option 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 the appropriate option from the dropdown list
Server AddressStringInputaddress of e-mail server the robot logs on to
Tenant IDStringInputstring expression from Azure Active Directory obtained after the application registration process
TimeoutInt32Inputset time in seconds to connect to email server; if the connection fails - the activity will return "false"
Use OAuthBooleanInputcheckbox; default is "off"
Emails CountInt32Outputnumber of mails in the inbox
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities