Integration · Email
AI agents for Gmail
Send email, and search, read and label the email in a Gmail mailbox, signed in with the person's own Google account.
- Actions
- 5
- Read
- 3
- Write
- 2
Actions
What your agents can do in Gmail
5 actions. Each one is a tool your agents can call and a step your workflows can run.
Read 3
Look things up. Nothing changes.
Search messages
Lists the messages that match a Gmail search, such as from:ada@example.com is:unread or subject:invoice after:2026/09/01.
Get a message
Reads one message by its ID.
List labels
Lists the mailbox's labels, both system labels (INBOX, UNREAD, STARRED …) and the person's own.
Write 2
Create, change or send.
Send an email
Sends an email from the signed-in Gmail account: to one or more addresses (comma-separated), with optional Cc and Bcc, a subject and a plain-text body (or HTML when html is true).
Add or remove labels on a message
Adds and removes labels on one message, by label ID.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Sign in with Google and approve access (OAuth).
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Gmail data
Ask a question in plain words. The agent can search messages, get a message or list labels in Gmail, then answers with what it found.
- 02
Let an agent update Gmail
Have the agent send an email or add or remove labels on a message in Gmail as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Work from your CRM
Give one agent HubSpot and Gmail: it can search contacts in HubSpot and send an email in Gmail in the same run.
FAQ
Gmail and MyDeepAgents
Can MyDeepAgents connect to Gmail?
Yes. The Gmail connector has 5 actions: 3 read and 2 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Gmail?
Sign in with Google and approve access (OAuth). Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Gmail without asking?
Only if you let it. Each of the 2 actions that change data can be set to wait for a person's approval before it runs.
Can I use Gmail in workflows as well as agents?
Yes. Every Gmail action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Gmail to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.