Get Outlook Graph Emails

You can select this activity to retrieve a list of emails from the mailbox based on specific criteria such as sender, subject, or date range. This activity enables you to collect emails that meet specific conditions, from an email account.

This table lists the properties for the activity.

Property Type Property Name Data Type Description
Common Continue on Error Boolean Select the check box to continue the RPA flow even if the activity fails. This check box is selected by default.
Misc Display Name String Display name for the activity.
Options Filter String The criteria to filter the list of emails. For example. by sender, subject, date range, and so on.
Include Attachments Boolean Indicates whether to include email attachments in the retrieved emails.
Mail Folder Name String The name of the folder to search.
Mark as Read Boolean Indicates whether to mark the retrieved emails as read.
Retrieve Top 10 Emails Integer The maximum number of emails that must be retrieved. For example, top ten.
Retrieve Unread Emails Boolean Indicates whether to retrieve only unread emails.
Output Email List Office365message A list of retrieved email details that include information such as the subject, sender, and date of the emails.
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 servererror responses.
Total Email Count Integer The total count of emails in the mailbox.