activities
latest
false
Productivity Activities
Last updated Oct 3, 2024

Use Gmail

UiPath.Mail.Activities.Business.GmailApplicationCard

Selects a Gmail account to use in your automation and enables Studio to integrate with Gmail and Google Calendar. After you add this activity, add the activities that work with data from the account inside Use Gmail. When you configure the activities added inside it, you can select data from the account directly from Studio.

Configuring the Activity

In the Body of the Activity
  • Account - Select the account to use.
  • Reference as - Enter a name by which to refer to the account in the automation project.

Selecting An Account

The way you indicate the account to use depends on whether or not the Use Connections option is selected in the Properties panel. When the option is selected, it indicates that the Integration Service in Automation Cloud manages the connection. When not selected, it indicates you are connecting using an application set up in Google Cloud.

When Using the Integration Service:

Add a new account or use an account connection you already added to the Integration Service.

  • If a connection does not already exist, select Add new account from the drop-down menu to add a new account connection. A browser window opens and you are prompted to select the account to use and grant the required permissions to UiPath.
  • If existing account connections have already been added, they are automatically detected and displayed in the menu. To add multiple accounts, simply click the drop-down menu and select Add new account to add another account connection.

    Note: When using this activity with the Integration Service, you may see the Connection Service Unavailable message in cases where a connector is not working.

When Not Using the Integration Service:

Add a new account or select an account you already added from a Use Gmail activity.

  • If you choose to add a new account and the G Suite client ID and secret are added in Orchestrator, you are prompted to sign in to your Google account.
  • If you choose to add a new account and the G Suite client ID and secret are not added in Orchestrator, the Add Gmail Account dialog box opens to help you add the account:

    • Authentication type - Select Default to use the UiPath client ID and secret, or select My ID/Secret to enter your organization's own client ID and client secret in the provided fields.
    • Click OK to sign in to your Google account.

      Note: If you want to clean up the accounts list, open File Explorer, go to the following folder: %appdata%\UiPath\authentication and delete all of its contents.
Properties Panel

Authentication

  • ClientId - Read-only, this is set when the account is added..
  • ClientSecret - Read-only, this is set when the account is added..
  • Email - Read-only, this is set when the account is added.

Common

  • DisplayName - The name displayed for the activity in the Designer panel.
  • Timeout - How many seconds to wait for the browser authentication process to complete before generating an error. The default value is 90 seconds.

Integration Service

  • Use Connections - If selected, the Integration service in Automation Cloud manages the connection.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Configuring the Activity

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.