activities
latest
false
Productivity Activities
Last updated Nov 6, 2024

Email Received

UiPath.GSuite.Activities.Gmail.Triggers.NewEmailReceived

Description

Executes an automation workflow when a new email arrives.

Scopes

This activity requires the following scopes:

  • https://mail.google.com/

OR

  • https://www.googleapis.com/auth/gmail.modify

Project compatibility

Windows | Cross-platform

Configuration

  • Gmail connection - The connection for the Google Workspace account to use in the activity.
  • Email folder or label - The folder where the email arrives. This property supports String variables and string formatted values. Click the Folder docs image icon to browse available folders.
    • Select the Reload Email Folder Data option if you've modified your email folders and need to retrieve the latest data.

  • Additional filters - Click this field to open the Filter builder and add additional filters. Supports filtering on the following fields: BCC, Body, CC, Subject, From, To, Labels.
Additional options

Options

  • With attachments only - Specifies whether to consider only emails with attachments. By default, Off is selected. This property supports Boolean values.
  • Include attachments - Specifies whether the email message is passed to the next activities with the attachments included. By default, True is selected. This property supports Boolean values.
  • Mark as read - Specifies whether to 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 Email.
  • 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.