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:
OR
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
Stringvariables and string formatted values. Click the Folder
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. Inline attachments are ignored. 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
