activities
latest
false
Productivity Activities
Last updated Oct 23, 2024

Email Received

UiPath.MicrosoftOffice365.Activities.Mail.Triggers.NewEmailReceived

Description

Starts execution workflow when a new email arrives. The last 100 emails are checked.

Scopes

This activity requires the following scopes:

  • Mail.ReadWrite AND User.Read

OR

  • Mail.ReadWrite.Shared AND User.Read

OR

  • Mail.ReadWrite AND User.ReadWrite

OR

  • Mail.ReadWrite.Shared AND User.ReadWrite

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft Outlook 365 connection - The connection for the Microsoft 365 account to use in the activity.
  • Use shared mailbox - Set the toggle to On if you want to use a shared mailbox. Default value is Off.

    • Shared mailbox - The email address of a user or shared mailbox. This field supports String type input.

  • Email folder - The folder where the new email will arrive. Browse the Outlook folders and select a folder. This field accepts IResource input.
    • Select the Reload Email Folder Data option if you've modified your email folders and need to retrieve the latest data.

  • Additional filters - Configure additional filters to check for the email that arrives. Supports filtering on the following fields: BCC, Body, CC, Category, From, Importance, Subject, To, Type.
Additional options

Options

  • With attachments only - Consider only emails with attachments. This property supports Boolean values.
  • Include attachments - This property supports Boolean values. Set to True if the email passed to other activities should contain attachments.
  • Mark as read - Automatically mark the retrieved email as read. This property supports Boolean values.

Output

  • Email - The received email. Automatically generated output variable. You can use it as it is or save it with a different name. You can use this in other activities, such as Forward Mail.
  • Job Data - Contains job info, such as Process name, Process version, Workflow name, Robot name, and mode of execution.

Example



See also:
  • Description
  • Project compatibility
  • Configuration
  • Example

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.