Subscribe

UiPath Activities

The UiPath Activities Guide

Mark Email as Read/Unread

UiPath.Mail.Activities.Business.MarkMailAsReadX

Marks the specified mail message or invite as Read or Unread. Should be used for the currently selected Outlook email or invite, or in a For Each Email activity when iterating through Gmail, or Outlook emails. This activity must be added inside a Use Outlook 365, Use Gmail, or Use Desktop Outlook App activity.

To learn how to use this activity, see Tutorial: Extracting Data from Automated Emails and Moving it to a Desktop Application.

Configuring the Activity

In the Body of the Activity

  • Email - Click Plus plus buttonplus button on the right side of the field and then, from the menu, select the mail to mark. When the activity is inside a For Each Email activity, select CurrentMail to indicate the current mail in the iteration. When automating the Outlook desktop app, you can also select Selected Mail to use the message that is selected in Outlook when the project is executed. Alternatively, you can select Open in Advanced Editor and enter a VB expression.
  • Mark as - Indicate how to mark the email by selecting an option from the drop-down menu - Read (the default selection) or Unread.

In the Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Input

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.

Updated 2 months ago


Mark Email as Read/Unread


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.