Gmail for AI agents

Read, search, draft, and send email with labels and threads. Sign in once through OAuth and every agent you run can use it.

  • Signs in with OAuth
  • Ready to connect
  • Any MCP client
  • No card required

The route from an agent to Gmail

Once Gmail is set up in your workspace, any agent you run can reach it: a Spinrun agent, or Claude, ChatGPT and Cursor through one MCP endpoint. Every call passes through the Spinrun gateway, which sorts it by risk and writes it to the activity log.

By default, every change an agent makes in a connected app waits for your approval, on every plan. Enhanced Control adds per-app read, write and destructive rules at the gateway on Free and Pro.

Gmail in the catalog

Read, search, draft, and send email with labels and threads. · Email & Messaging

  1. An agent gets a jobFrom chat, a schedule, or your own AI client
  2. Spinrun checks the callSorted as a read, a write or a destructive call
  3. Gmail does the workThrough the connection you set up in your workspace
  4. Every call is loggedTool, outcome and duration, in one activity log

From Spinrun recipes

Jobs to hand an agent in Gmail

Each one is a real prompt from a Spinrun recipe or team page, ready to adapt to your own work.

  • “Each morning, pull new HubSpot contacts tagged 'inbound', email the ones you haven't, follow up with anyone quiet for 4 days, and tell me who replied.”

    Track every lead an agent touched

  • “Triage my unread email. Group into urgent / needs-reply / FYI / noise. Draft replies for needs-reply, archive noise with labels, and show me only what's urgent.”

    Triage your inbox to zero

  • “Build my morning brief: today's meetings with prep notes, overnight Slack/email highlights, and my top three priorities. Keep it under 200 words.”

    Start every day with a briefing

  • “Prep me for my next meeting: who's attending, our recent correspondence, any open deals or tickets, and three talking points.”

    Briefed before every meeting

Three steps

From connection to first call

  1. Connect an app once

    Sign in from your workspace with OAuth or an API key. Spinrun keeps the credential in an encrypted vault, never in an agent's config.

  2. Decide what it may do

    By default, every change an agent makes in a connected app waits for your approval, on every plan. Enhanced Control adds per-app rules for reads, writes and destructive calls on Free and Pro.

  3. Let any agent use it

    Claude, ChatGPT, Cursor or a Spinrun agent reach the app through one MCP endpoint, and every call is written to the same activity log.

What it can do

Every Gmail action, sorted by risk

Spinrun sorts every Gmail action into one of three tiers. By default, agents ask before a write; on Free and Pro, the rules you set decide which tiers run.

  • Destructive

    Change labels on many messages

    GMAIL_BATCH_MODIFY_MESSAGES

    Add and/or remove labels on up to 1000 messages at once.

  • Writes

    Create email draft

    GMAIL_CREATE_EMAIL_DRAFT

    Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.

  • Writes

    Create label

    GMAIL_CREATE_LABEL

    Creates a new label with a unique name in the specified user's gmail account.

  • Destructive

    Delete Draft

    GMAIL_DELETE_DRAFT

    Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.

  • Destructive

    Delete message

    GMAIL_DELETE_MESSAGE

    Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.

  • Reads

    Fetch emails

    GMAIL_FETCH_EMAILS

    Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.

  • Reads

    Fetch message by message ID

    GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID

    Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.

  • Reads

    Fetch Message by Thread ID

    GMAIL_FETCH_MESSAGE_BY_THREAD_ID

    Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.

  • Reads

    Get contacts

    GMAIL_GET_CONTACTS

    Fetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination.

Paired in recipes

Apps agents use with Gmail

These appear next to Gmail in Spinrun's templates, recipes and team pages.

Same category

Other Email & Messaging apps

Other apps in this category that your agents can use.

See every app in this category

Questions about Gmail

You approve Gmail in its own sign-in window. Spinrun keeps the token in an encrypted vault, refreshes it before it expires, and you can revoke it in one click.

Put Gmail to work. Start free.

Connect Gmail, decide what it may do, and give an agent its first job.

Before anything loads

We would like to switch on analytics, so we can see which pages are worth keeping. Nothing has loaded yet and nothing will until you choose. The cookies that keep you signed in and remember your language are not part of this.

Read the Cookie Policy