Get Outlook Emails

You can select this activity to retrieve email messages from Outlook. This table lists the properties for the activity.

Property Type Property Name Data Type Description
Input Account String The email account that must be used to retrieve the mail messages.
Note: The account specified must match with the value displayed in the outlook client. Else, an error is encountered as the RPA flow parameterizes the email account being read.
Mail Folder String The mail folder from which the messages must be retrieved.
Options Filter String The string that must be used as a filter for retrieving messages. See the Filters section for the possible filters.
Mark as Read Boolean A Boolean value. Select this option to mark the unread retrieved emails as 'Read in Outlook'. The default value is True.
Only Unread Boolean Emails Boolean Value. Select this option to retrieve only unread emails. The default value is True.
Top Number of Emails Int32 The maximum number of messages that must be retrieved starting from the top of the list.
Output Emails List<Mails> where Mails is: Infor.Activities.Email.Mail data type System.Collectio ns.Genetic.List< Infor.Activities.Email.Mail > The retrieved messages as a col lection of emails objects. Stored in<List<Mail>>.
Response Code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses.