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.

Parameter Name | Parameter Type | In/Out | Description |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Application ID | String | Input | string expression from Azure Active Directory (applies to Microsoft services) or Google Cloud (applies to Google services) obtained after the application registration process |
Client Secret | String | Input | string expression from Google Cloud obtained after the application registration process |
Display Name | Literal | Input | you can change the name of activity for greater clarity of the scenario |
Encryption Method | Dropdown | Input | select the appropriate option from the dropdown list |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
Login | String | Input | login |
Password | String | Input | password (string expression) |
Port | Int32 | Input | port number |
Protocol | Dropdown | Input | select the appropriate option from the dropdown list |
Provider | Dropdown | Input | select the appropriate option from the dropdown list |
Server Address | String | Input | address of e-mail server the robot logs on to |
Tenant ID | String | Input | string expression from Azure Active Directory obtained after the application registration process |
Timeout | Int32 | Input | set time in seconds to connect to email server; if the connection fails - the activity will return "false" |
Use OAuth | Boolean | Input | checkbox; default is "off" |
Emails Count | Int32 | Output | number of mails in the inbox |
Result | Boolean | Output | returns the Boolean value: it will return True if no error is in activity, otherwise it will return False |
Result Code | Int32 | Output | Result 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 |