Gmail
Set up an AI agent for Gmail. It reads threads, drafts or sends replies and manages labels in one Google mailbox, on your instructions or on a schedule.
eesel's AI agent for Gmail works one Google mailbox for you. It searches mail, reads threads, drafts or sends replies, and manages labels, following instructions you write in plain words. It can leave an unsent draft for a person to review, or send the reply itself.
Invite your AI teammate into Gmail and it works the mailbox: it searches messages, reads threads, drafts or sends replies, and manages labels. It works only the one mailbox you give it. It is not Gemini, Google's own AI in Gmail.

Gmail is not self-serve yet. Message us in the in-app chat or email hi@eesel.app to have it turned on. It does not appear in your integrations list until then.
Set up eesel in Gmail
Ask your agent to connect Gmail
Open the chat in your dashboard and ask it to connect Gmail. It points you at your Integrations page and lists what it will do: search, read, send, draft and label email.

Open Integrations > Gmail in the left sidebar. Connect is in the top right.

Sign in with Google
Connect opens a notice saying the connection runs through Pipedream, the service that brokers the sign-in. Continue hands you to Google's sign-in and consent screen. Pick the account you want your agent to work in, read the mail permissions, then accept. You can remove the connection at any time.

A person approves this in the browser.
Confirm the connection
Google sends you back, and the modal confirms the account is connected. Continue returns you to the integration page.

Check it worked. The integration page header shows Connected with the account, and the left sidebar now lists Gmail. From a terminal, eesel status shows the integration as connected with its source counts.
Check what it can read and do
Sources is what it can read, and the mailbox is listed there with a switch. Automations is where you pick a trigger and say what to do each time it happens. Actions is what it can do, grouped as Read and Write.

Create your first automation
Connecting alone does not start your agent. It needs an automation first. Ask in the dashboard chat for the mail you want handled and what should happen. Your agent picks the trigger, writes the instructions, switches the automation on, and names the actions it will use. Your plain-language description becomes the automation's instructions, so it skips mail you did not describe. See Automations.

The trigger event is fixed when the automation is created. So a new automation is required for each different trigger event.
Back on the integration page, the automation is listed with its switch on.

Check it worked. Your Automations page lists the automation, switched on. From a terminal, eesel automations lists the automation as on.
Work your inbox from Slack
With Slack connected, mention your teammate in a thread and ask what is new in the inbox. It lists the newest mail with sender, time and a line on each, then offers to open one, draft a reply or act on it.

Ask it to reply to one and say what to write. It sends the reply from the connected account and confirms what it sent and to whom.

Open Gmail and the follow-up is in the original thread, from the address you connected.

Sources, triggers and actions
Sources
Gmail adds one source, listed on the integration page with a switch.
Gmail
The mailbox of the Google account you signed in with. It searches messages and reads whole threads while it works
Your agent can only see what that mailbox can see. Every other integration on your agent is a source too, so a Gmail reply can also draw on your help center, files and other integrations. See Integrations.
Triggers
Triggers are the Gmail events an automation can run on.
New email received
A new email arrives in the connected inbox
Auto-replying and triage
gmail_pipedream_new_email
New email matching search
A new inbound email matches a Gmail search query you set, like label:support -from:me
Scoping to one address or topic
gmail_pipedream_new_email_matching_search
New labeled email
An email receives one of the Gmail labels you choose to watch
Queues a person curates: label it, and your agent picks it up
gmail_pipedream_new_labeled_email
New mail is delivered on Pipedream's polling interval. So a reply follows the email after a short delay.
Actions
The integration page groups actions as Read and Write, with ten read actions and twelve write actions. They come from Gmail through Pipedream, and your agent loads the current list each time it runs. These are the ones you will use most.
Read
Find emails
Searches the mailbox with Gmail search syntax (from:, subject:, has:attachment, date ranges)
Get thread
Reads the full back-and-forth of an email thread
List labels
Lists the labels in the mailbox, so labeling actions target real ones
Write
Send Email
Sends a new email, or replies on an existing thread, from the connected account
Create Draft
Saves an unsent draft, new or as a reply on a thread, for a person to review and send
Modify Labels
Adds and removes labels on one or more messages. In Gmail this one action covers archive, trash, star, and mark read or unread too
Create Label
Creates a new label, including nested ones like Clients/Acme
Archive email / Bulk archive emails
Archives one message, or many at once
Update Signature for Primary Email Address
Sets the signature on the connected address
Update Signature for Email in Organization
Sets the signature on another address in the same Google organization
You stay in control the whole way. Adjust your AI agent's access to knowledge and its action permissions to your liking. See Actions and Approvals.

Your agent replies as the connected Google account.
Limitations
Not self-serve yet. Ask us to turn Gmail on for your workspace before it appears in your integrations list.
One mailbox per connection. Your agent sees only what the connected Google account can see, and sends as that account.
New mail arrives after a short delay. Mail is delivered on Pipedream's polling interval, not instantly.
Triggers watch incoming mail only. Messages you send do not start an automation.
Replies need a recipient. The send and draft actions do not work the recipient out from the thread, so your instructions should say to reply to the sender.
Troubleshooting
FAQ
Related pages
Helpdesk for the customer-facing job your agent takes on in the inbox
Slack for working the mailbox from a Slack thread
Actions and Approvals for choosing what your agent may do
Integrations overview for how sources, triggers and actions fit together
Last updated
