activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 15, 2024

Save Email

UiPath.Mail.Activities.Business.SaveMailX

Saves a specified email or invite to a folder on your computer as a .msg file (for the Outlook desktop app) or .eml file (for Outlook 365 and Gmail). Should be used for the email or invite currently selected in the Outlook desktop app, 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.

Configuring the Activity

In the Body of the Activity
  • Email - Click Plus docs image on the right side of the field and then, from the menu, select the email to save. 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.
  • Save to folder - Click Browse docs image next to the field, and then browse to and select the folder where to save the email. Alternatively, you can indicate a file path by selecting an option from the Plus docs image menu on the right side of the field.
  • File name (optional) - Click Plus docs image on the right side of the field, and then use one of the options from the menu to select the name by which to save the file. If no file name is provided, the subject of the email is used for the file name.
Properties Panel

Common

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

Input

  • See the options in the body of the activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Configuring the Activity

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.