Connectors / Service / Gmail

Fast, searchable email with less spam (updated: 1587467490082)

Gmail

Fast, searchable email with less spam.

Overview

Use the Tray.io Gmail connector to list, send and download emails as well as change system preferences.

Authentication

Note: Before authenticating this Google connector, you will need to whitelist the Tray.io Google authentication app. Please follow the instructions here before continuing with the authentication process.

Once this is done, you can click on the New Authentication button:

add-auth

A window appears displaying what scopes will be requested for your account. Tick accordingly and continue.

google-scopes

After being redirected to Google, click on the Allow button found at the bottom of the window.

accept-google

The authentication process has been completed and the connector can now be used.

Example 1 - Sending an email

This example will walkthrough how to send an email using the Gmail connector.

The first step is to select the Send email operation.

send-email

Here, a subject and an email body has been defined. This has been done using the subject and body input fields.

gmail-create-body

The next step is to configure the address that will be sending the email, and the address that will be receiving the email.

gmail-recipient

The email is now ready to be sent. To do so, the workflow is ran and as can be seen it has been successful in sending the email.

gmail-success

Below, you can also see the email that was sent on an email client.

successful-email

All Operations

Latest version:

4.0

Create send-as alias

Creates a custom 'from' send-as alias. REQUIRES a service account.

Delete message

Deletes a message in your Inbox.

Delete send-as alias

Deletes a specified send-as alias. REQUIRES a service account.

Download message attachments

Get the attachments from a message.

Get message

Get full details of a message in your Inbox.

Get send-as alias

Returns data for a specified send-as alias. REQUIRES a service account.

Get thread

Returns full details of a thread in your Inbox.

Get user profile

Returns information about the user authenticated to Tray.

List labels

Lists all labels in the user's inbox.

List labels DDL

List messages

Returns a list of all the messages in the Gmail inbox.

List send-as aliases

Lists a user's custom 'from' send-as alias. REQUIRES a service account.

List threads

Returns a list of all the conversation threads in the Gmail inbox.

List user history

Lists the history of all changes to the given mailbox.

Reply to message

Sends a reply email message via your Gmail account. Messages will appear to the recipient as if you had sent the message yourself in the Gmail interface.

Send message

Sends an email message via your Gmail account. Messages will appear to the recipient as if you had sent the message yourself in the Gmail interface.

Update message labels

Modifies the labels on the specified message.

Update send-as alias

Updates a custom 'from' send-as alias. REQUIRES a service account.

Update vacation

Updates vacation responder settings.