Activities
latest
false
Get Newest Email - Other latest
logo
Productivity Activities
Last updated 2023年12月6日

Get Newest Email

UiPath.GSuite.Activities.GetNewestEmailConnections

Description

Retrieves the newest email from the specified mail folder.

Scopes

This activity requires the following scopes:

  • https://mail.google.com/
  • https://www.googleapis.com/auth/gmail.modify
  • https://www.googleapis.com/auth/gmail.readonly
  • https://www.googleapis.com/auth/gmail.metadata

Project compatibility

Windows | Cross-platform

Configuration

  • Gmail connection - The connection for the Google Workspace account to use in the activity.
  • Email folder - The folder to get the emails from. This option accepts input as IResource. Click the Folder icon to browse email folders. Use the Plus button menu to switch to Folder path input mode.
    • Folder path - Specify the full path of the folder. This property supports String variables and string formatted values.
    • Select the Reload Browser 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 for the query. Supports filtering on the following fields: BCC, Has the words, CC, Categories, Date and time, Attachment name, From, Subject, To.
Note: When the Inbox folder names include the / delimiter, the Email folder dropdown menu may display folders in an incorrect order.

Additional options

Options

  • Shared mailbox - The email address of a user or shared mailbox to retrieve the email from. This property supports String variables and string formatted values.
  • Unread only - Specifies whether to consider only unread emails. This field supports Boolean values. By default, False is selected.
  • With attachments only - Specifies whether to consider only emails with attachemnts. This field supports Boolean values. By default, False is selected.
  • Important only - Specifies whether to consider only important emails. This field supports Boolean values. By default, False is selected.
  • Starred only - Specifies whether to consider only starred emails. This field supports Boolean values. By default, False is selected.
  • Mark as read - Specifies whether to mark the retrieved email as read. This field supports Boolean values. By default, False is selected.

Output

  • Retrieved email - Reference to the retrieved email for use in other activities, such as Forward Email.
  • Description
  • Project compatibility
  • Configuration
  • Example
logo
Get The Help You Need
logo
Learning RPA - Automation Courses
logo
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2023 UiPath. All rights reserved.