Gmail
Connect the business Gmail account with Google sign-in so the agent can read mail, draft, reply and send, with changes gated by confirmation.
Connect Gmail so the agent can read and send email from a business mailbox as a tool.
How do I let my AI agent read and send Gmail?
In Integrations, add Gmail and connect the business mailbox with Google sign-in. Enable the capabilities you want, such as searching messages, drafting or sending a reply. Every Gmail capability needs a verified customer by default, and actions ask for confirmation before they run. Gmail is in beta.
What the agent can do
All Gmail capabilities default to Verified trust. Actions ask for confirmation before they run.
| Capability | Type | What it does |
|---|---|---|
| Get many messages | Source | Search the business mailbox with Gmail query syntax |
| Get message | Source | Fetch one message |
| Get many threads, Get thread | Source | List or fetch conversations |
| Get many drafts, Get draft | Source | List or fetch drafts |
| Create draft | Action | Create a draft for a person to review and send |
| Send email | Action | Send an email immediately from the business account (to, subject, body) |
| Reply to message, Reply to thread | Action | Reply in the conversation |
| Add labels, Remove labels | Action | Change labels on a message |
| Mark as read, Mark as unread | Action | Change read state |
Connect
- Integrations → Add integration → Gmail. The page is headed Connect Gmail: "Sign in with Google so the assistant can send email from your" business account.
- Select Continue with Google and allow access. Gmail connects with sign-in only (there is no token option). It asks to read, modify, send and compose email.
- Test connection, then Verify capabilities. Verification is self-scoped: it uses a marker email or draft rather than your customers' mail.
- Enable and attach.
Gmail as an integration, or as a channel
This integration lets the agent use a mailbox as a tool. To have the agent answer customers who email you, in the same thread, use the Email (Gmail) channel instead. It is on the agent's Channels page; see Channels.
Tips
- Prefer Create draft over Send email until you trust the agent's wording.
- Connect a dedicated mailbox, not a personal one.
- Mailbox contents are private. All reads are set to Verified, so check that you want customers to cause reads at all before enabling them.
- Keep Send email and Reply off unless you need them.
Problems: Troubleshooting.