Google Apps

Connect Gmail to your AI agent

One-click hosted OAuth. 15 tools your agent can call from chat. No OAuth plumbing, no API key juggling. ClawLink hosts the connection so your agent can act on Gmail right away.

15Gmail tools

Callable the moment you connect. No per-tool setup, no API client to maintain.

Send emailFetch emailsFetch message by message IDFetch message by thread IDCreate email draftReply to threadForward messageGet profile+7 more

Setup

Three steps. About two minutes.

  1. 1

    Install ClawLink

    Add the plugin to your agent once.

  2. 2

    Connect Gmail

    One-click hosted OAuth in the dashboard.

  3. 3

    Use it from chat

    Ask your agent in plain English.

Gmail uses OAuth. You connect it in the browser: click Connect, sign in, approve. ClawLink stores the token and refreshes it on its own. You never touch a key or wire up a redirect URL.

bash
$npx -y @useclawlink/cli login
$npx -y @useclawlink/cli connect gmail

Run these in your terminal. The first opens a browser to sign in to ClawLink; the second opens a browser to authorize Gmail. No API keys to create or paste. Works with any agent that runs shell commands: OpenClaw, Hermes, Claude Code, Cursor, Codex, Cline, and more.

Use cases

What you can do with Gmail from chat

Read and write from chat

Query, create, and update Gmail items the moment a question comes up. No export step.

Go from insight to action

The agent reads Gmail, sums up what matters, and helps you decide the next step.

Keep analysis close to the work

Turning Gmail data into a follow-up task happens inside one flow.

Capabilities

The Gmail actions your agent can call

15 Gmail tools, ready the moment you connect.

  • Send email
  • Fetch emails
  • Fetch message by message ID
  • Fetch message by thread ID
  • Create email draft
  • Reply to thread
  • Forward message
  • Get profile
  • List labels
  • Create label
  • Add label to email
  • List drafts

+ 3 more Gmail tools after you connect.

Examples

Ask in plain English

These map to real tool calls ClawLink makes against your connected account.

Send email

Use Gmail to send email. Draft it first and show me before you send.

Fetch emails

Pull the data from Gmail. Sum it up and flag anything I need to look at.

Fetch message by message ID

Pull the data from Gmail. Sum it up and flag anything I need to look at.

Fetch message by thread ID

Pull the data from Gmail. Sum it up and flag anything I need to look at.

ClawLink vs DIY

Building the Gmail integration yourself, or hosting it?

 
DIY
ClawLink
Connection
Build it yourself. You register a developer app with Gmail, set up redirect URLs, handle the consent screen, store and refresh access tokens, and redo the wiring when scopes change.
Hosted hosted OAuth. Connect once in the browser. ClawLink owns the lifecycle.
Maintenance
Token refresh, permission debugging, env config, every edge case. All yours.
ClawLink handles the plumbing. You focus on the workflow.
Time to first call
Days to weeks. Auth, storage, tool wiring, testing. Then the agent can act.
About two minutes from sign-up to the agent calling Gmail.

FAQ

Quick questions

How do I connect Gmail to my AI agent?

Install ClawLink, open the dashboard, click Connect next to Gmail, and finish the hosted OAuth flow. Your agent can call Gmail from the next message. Two minutes, total.

Is there a Gmail MCP server I can use?

Yes. ClawLink exposes Gmail as 15 tools your agent calls through a hosted MCP-compatible runtime. You don't run a local server or edit a config file. The tools are there the moment you connect.

Do I need Gmail API credentials?

No separate API key. You sign in to Gmail through the normal OAuth flow and ClawLink handles the token after that.

How much does it cost?

Your first integration is free, plus a 14-day trial of the full catalog. Paid plans unlock the rest of the library.

Can I set this up from the terminal instead of the dashboard?

Yes. Run npx -y @useclawlink/cli login, then npx -y @useclawlink/cli connect gmail. The first opens a browser to sign in to ClawLink. The second opens a browser to authorize Gmail. No API keys to create. Works with OpenClaw, Hermes, Claude Code, Cursor, Codex, and any agent that runs shell commands.

Related

More Google Apps integrations

Ready to connect Gmail?

First integration is free. No credit card.

Connect Gmail
Community Q&AReddit-style Q&A on Gmail