Relevance AI
Relevance AI
Gmail logo

Gmail integration

Gmail offers private and secure email by Google at no cost, for business and consumer accounts.

What your agents can do with Gmail

17 pre-built Gmail tool steps, ready to drop into any agent. Anything they do not cover, an agent can reach with an authenticated API call.

Actions (12)

Download Attachment

Download an attachment by attachmentId to the /tmp directory.

Update Signature for Primary Email Address

Update the signature for the primary email address.

Update Signature for Email in Organization

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action.

Send Email

Send an email from your Google Workspace email account.

Remove Label from Email

Remove label(s) from an email message.

List Labels

List all the existing labels in the connected account.

Find Email

Find an email using Google's Search Engine.

Create Draft

Create a draft from your Google Workspace email account.

Archive Email

Archive an email message.

Approve Workflow

Suspend the workflow until approved by email.

Add Label to Email

Add label(s) to an email message.

Create Label

Create a new label in the connected account.

Triggers (5)

New Sent Email

Emit new event for each new email sent. (Maximum of 100 events emited per execution).

New Labeled Email

Emit new event when a new email is labeled.

New Email Received

Emit new event when a new email is received.

New Email Matching Search

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

New Attachment Received

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

Set up Gmail in Relevance AI

Do this once. Every agent in your workspace can then use the connection.

1

Create a Relevance AI account

Sign in, or create a free account. You do not need to be a developer to set this up.

2

Connect your Gmail account

In Relevance AI, open Integrations and add Gmail. You will be sent to Gmail to sign in and approve access, and the connection is stored against your workspace.

3

Use Gmail in an agent

Create a tool, add a Gmail tool step, and connect it to an agent. The agent fills in the step's inputs each time it runs.

Put Gmail to work in your agents

Connect Gmail alongside 1,800+ other integrations and let your agents run the busywork.