studiox
2024.10
true
UiPath logo, featuring letters U and I in white

StudioX User Guide

Last updated Dec 19, 2024

Mail Automation

StudioX enables you to automate tasks you perform with emails from the Outlook desktop application, Gmail, and Outlook 365.

After you add the account to automate as a resource to the automation using a Use Outlook 365, Use Gmail, or Use Desktop Outlook App activity, add the activities that use data from the account inside the resource activity. When configuring the child activities, you can select specific email data directly from the Plus menu in StudioX: Outlook folders, Gmail labels, the email selected in the Outlook desktop app when the project is executed, or message fields such as Subject, Body, Body as HTML, Bcc, Cc, To, From, Date (as text), and Priority.

Note:


If you want to repeat one or more activities for multiple messages, add a For Each Email activity, and then add the activities to repeat inside it to process the emails one by one. This enables you to iterate through the emails in a desktop or web Outlook folder, Gmail label, or through the emails selected in the Outlook desktop app when the project is executed.

Note:
  • If the Outlook desktop app displays warning messages and prompts you to allow access to the program when you are working with Outlook activities, follow the instructions in Outlook Troubleshooting to prevent the messages from being displayed.
  • StudioX and the Outlook desktop app must run with the same privileges (either run both as administrator or run both not as administrator).

Non-Delivery Reports (NDR)

NDR emails are automatically generated emails that you receive in certain situations. For example, when an email is sent to a non-existent email address. Non-Delivery Reports are supported by StudioX's mail activities.

Note:
  • If you forward a ReportItem (NDR mail), it is forwarded as a new mail with the NDR mail attached.
  • NDR emails parsed by Outlook Desktop App have the To and From fields set to null.
  • NDR emails parsed by Outlook 365 have the To field set to the value from the email that generated the NDR.

To learn how to work with mail automation, see the following tutorials:

The following mail activities are available in StudioX:

  • Non-Delivery Reports (NDR)

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.