End-of-year offer. Half price on every plan through Dec 31, 2026. From $37.50 a month for 40,000 credits.See pricing →
Guide · Gmail and Google Calendar

Connect an AI employee to Gmail and Calendar without handing over the keys.

You never give an AI employee your password. You sign in on Google’s own screen and approve a short list of permissions. The two choices that matter are which permissions you approve and whose account the AI uses.

By the Bob team · Published July 11, 2026, updated November 10, 2026

HeyBob
The HeyBob app. Alex asks Bob to email Harbor Foods a short follow-up about last week's order. Bob reads the email threads, checks the open orders in QuickBooks, writes the email, then waits on a Needs a go-ahead card with Approve, Always allow and Deny.

The short answer.

An AI employee connects to Gmail and Google Calendar the same way your calendar scheduler or CRM did: Google shows a sign-in and consent screen, you approve specific access, and Google hands the tool a pass limited to exactly that. Google calls each piece of access a scope.

Bob takes the safer route. Each person connects their own account. Reading can keep moving, and every send or calendar change waits for a yes, in the HeyBob app on Mac, Windows and Linux, or in Slack. Bob can also watch an inbox for mail that needs action and route the work to the right person, without one administrator’s approval opening every mailbox in the company.

Set both up in one pass.

It is the same flow twice. Five steps, and you finish with your own inbox and calendar connected, with every change behind your OK.

1. Ask

Type “connect Gmail”, then “connect Google Calendar”. Bob answers each with a Connect button.

2. Sign in

Tap the Gmail button and sign in with Google. Pick the account Bob should work with, not a shared one.

3. Read the list

Check Google’s screen lists what you expected and nothing extra. If it doesn’t, stop and tell us what it said.

4. Calendar

Do the same for Google Calendar. Seeing free time and creating events is all you need here, not managing the calendars themselves.

5. Come back and say “retry”. Bob picks the job up where it stopped.

Then give him three first jobs.

In this order. Each one matters a little more than the last.

Read only
You

“Find my unread customer emails from this week and tell me which need a reply.”

Reading goes ahead without a prompt, and you see how he reads the inbox.

A draft
You

“Read the Northstar thread and draft a reply.”

A draft can be thrown away, so it is the safe place to check his tone and facts.

A send
You

“Send the draft to Priya.”

He shows the recipient and the full text, and waits for a yes.

Each connection belongs to the person who made it. A teammate connects their own account the same way, and nothing you approved opens their mail. Go deeper with Bob with Gmail and Bob with Google Calendar.

What “connecting” really means.

Connecting is a permission slip, not a password handoff. The tool sends you to Google’s consent screen, you approve a set of permissions, and Google returns a pass good for exactly those. Google’s scopes reference describes each one by the app it covers, the data it touches and the level of access.

  • The AI employee never sees your password.
  • You can take the access back any time from your Google Account, and a Workspace admin can from the admin console.
  • The access has hard edges. A read-only pass cannot send email, whatever anyone tells the AI to do.

That last point is the whole game. Get the permissions right and most of the scary scenarios become impossible, not just discouraged.

The Gmail permissions that matter.

They run from send-only to full control of the mailbox. Google’s own advice is to ask for the narrowest one that does the job.

ScopeWhat it allowsGoogle rates itWhen to approve it
gmail.sendSend mail as you, with no readingSensitiveThe AI only sends, such as drafts you approved
gmail.readonlyRead messages and settingsRestrictedSummaries, triage, search
gmail.composeCreate and edit draftsRestrictedDraft-only work
gmail.modifyRead, and change labels and state, but not deleteRestrictedRead and organize the inbox
gmail.metadataHeaders and labels, not the message itselfRestrictedCounts and patterns without reading content
Full mail.google.com/Everything, including permanent deleteRestrictedAlmost never for an AI

Notice how much Google rates as restricted. That triggers extra review, covered below. If the job is “draft replies I approve”, you may only need compose plus read-only. Resist the full mailbox permission just because it is at the top of the list.

The Calendar permissions that matter.

Simpler, same logic. Google tells developers not to ask to write until the app really creates, changes, deletes or answers invitations.

ScopeWhat it allowsWhen to approve it
calendar.events.readonlyRead events onlyShow free time, brief the day
calendar.readonlyRead calendars and eventsRead across several calendars
calendar.eventsRead and write eventsBook, reschedule, answer invites
Full calendarFull access to calendars and eventsManaging the calendars themselves

Google rates Calendar permissions as sensitive, so an app that uses them needs Google’s review even if it never reads an email. Checking free time and rewriting your whole calendar are very different risks, and the consent screen should show the difference.

Each person, or one key for everyone.

This is the choice most teams get wrong. There are two ways to grant access.

Each person connectsDomain-wide delegation
Who agreesEach employee, onceOne super admin, for everyone
What it opensThat person’s mailbox and calendarEvery user in the company
If the pass leaksOne mailboxThe whole organization
SetupQuick, self-serveAdmin console configuration
Right forMost AI employee workRare, specific batch jobs

Google’s own best practices for domain-wide delegation are blunt: use it only when a critical business case needs to skip each person’s consent, and otherwise prefer per-person consent or Marketplace apps. A leaked per-person pass exposes one inbox. A leaked delegation key can act as anyone in the company, a risk security researchers have written up in detail.

For an AI employee working alongside a team, each person connecting is almost always right. Everyone sees what they approved and can pull the plug on their own. If a vendor pushes you straight to domain-wide delegation “to make setup easier”, question it.

Read versus write

Why every change needs a gate.

Reading email or a calendar can be recovered from. At worst the AI saw something it shouldn’t sum up. Writing is different. A sent email can’t be unsent. A deleted event is gone. An accepted invite has already told the other side you’re coming.

So the rule: reading can run on its own, and every write, whether a send, a booking, a declined invite or an archived thread, waits for a person to approve that exact action. It is the core of the five controls that matter before an AI touches your systems.

A good gate shows the real draft, the real recipient and the real calendar change, then waits. Not a summary. The thing itself.

HeyBob
Bob shows the steps he took and asks for a go-ahead, with Approve, Always allow and Deny

The inbox is full of strangers.

Connecting an AI to your inbox brings a known risk. Your inbox is full of text written by people you don’t know. If the AI treats a message as instructions, an attacker can hide orders in an email. Security people call this prompt injection.

It isn’t hypothetical. The EchoLeak flaw (CVE-2025-32711) was a zero-click attack: a crafted email with hidden instructions made an AI assistant leak data the moment its user asked for an inbox summary. Researchers call the pattern the “lethal trifecta”: access to private data, exposure to untrusted content, and a way to send things out. An email-connected AI has all three by default.

What actually reduces it:

  • Least access. Narrow permissions, so a tricked AI simply can’t send or forward. This is why read-only first matters.
  • A person on every write. An injected “forward everything to this address” dies at the approval card, because a person sees the recipient first.
  • Email is data, not orders. The AI sums up what strangers wrote. It never obeys it.
  • A record of everything. Every read and every proposed write, so you can see what happened.

The gate that catches mistakes also stops attacks. That is no coincidence. It is why the gate exists.

A least-access checklist.

  1. Start read-only. Add writing only when a specific job needs it.
  2. Have each person connect their own account, not domain-wide delegation, unless there is a written reason.
  3. Check the consent screen lists exactly what you expected, nothing extra.
  4. Require a person’s OK for every send, booking, reschedule or delete.
  5. Confirm you can take access back per person from the Google admin console.
  6. Check where message content is handled and stored. See where Bob processes and stores data.
  7. Make sure every action is itemized and recorded, not just “task complete”.

If a tool can’t pass the first four, the rest doesn’t matter.

In practice

What good looks like.

  • Asks for the least. If it only drafts replies, it asks for compose and read-only, not the whole mailbox.
  • Pauses before writing. It shows you the email or the exact calendar change and waits.
  • Shows its work. What it read, what it proposed and what it cost, as in what it takes to trust an AI employee.
  • Stays easy to switch off. One click in Google’s admin console cuts it off, no vendor ticket needed.
Slack
In Slack, Matthew asks Bob for insights into the revenue spreadsheet in his drive. Bob reads the file and answers with revenue, gross profit, the trend and three things to look at, with a receipt underneath showing credits, time and tool calls.

How Bob does it.

Each person connects their own Google account, and Gmail and Calendar work runs as that person. Sends and calendar changes wait on an approval card, in the HeyBob app or in Slack, and a finished job shows what it cost. An inbox watch can start work from new mail, and Bob notes that the instruction came from an email, so a stranger’s message never carries the weight of a teammate’s request.

One honest boundary: Google has not finished verifying HeyBob’s Gmail and Calendar connection, and we will not pretend it has. Useful, limited, and straight about the edges. That is the right shape for anything holding a key to your inbox.

Common mistakes.

Too much

Approving the full mailbox

It includes permanent delete. Almost no AI job needs it.

One key

Delegation for convenience

You have just made every mailbox reachable through one key.

No gate

Letting it send on its own

The gap between reading and writing is why approval exists.

No questions

Skipping verification

Google can slow or cut off unverified apps with little warning.

Trust

Assuming email is safe

Treat every message as possibly hostile.

Common questions.

Do I need to give an AI employee my Gmail password?

No. You approve specific permissions on Google’s own consent screen and can take them back any time from your Google Account or the admin console. The tool never gets your password.

Can I connect it read-only?

Yes, and you should start there. gmail.readonly and calendar.events.readonly let an AI sum up, sort and check free time with no way to send mail or change events. Add writing only when a specific job needs it.

What is the difference between each person connecting and domain-wide delegation?

When each person connects, they approve access to their own account, and a leak exposes one mailbox. Domain-wide delegation lets one super admin give an app access to every user, and a leak exposes everyone. Google recommends per-person consent unless there is a critical, documented reason.

Is it safe to let an AI read my inbox, given prompt injection?

It is manageable with the right controls. Narrow permissions so it can’t send or forward, a person’s OK on every write, email treated as data rather than orders, and a record of everything. The same gate that catches mistakes blocks an injected “forward my email”.

Can I take access back later?

Yes. You can remove it in your Google Account security settings, and Workspace admins can remove or limit any connected app from the admin console, without involving the vendor.

Sources.

The Google facts on this page come from Google’s own documentation.

Hand Bob one real inbox job and judge the result.

$100 of work, on us. Set up in 2 minutes.