---
title: Gmail with your AI: read, sort and draft as you
description: Your AI searches, reads, sorts and drafts your Gmail through a script you deploy in your own account. It sends only on your go, with no connector in between.
url: https://instibrain.ai/works-with/gmail
updated: 2026-10-27
site: https://instibrain.ai/llms.txt
---

# Your inbox, read and drafted as you.

A script you deploy in your own Google account reads, sorts and drafts your mail. A draft goes out only after you say send.

What you can ask  →  Where the credential stays

search, drafts and cleanup · executes as you · a send only on your go

`team/tools/google-apps-script/google-apps-script.md` an id and a key name
asked · an example Is the bank-change mail from our supplier genuine?
the AI, from the page DMARC fails, and the DKIM signature names another domain. It did not come from the supplier.
what the AI readThe message as delivered, through your own deployment. No mail reached our server.

who uses it, and why

## Who lets the AI into the inbox.

People whose day starts with a full inbox.

a support lead

### A reply drafted from the whole thread.

why The history sits three forwards deep.

asks Draft a reply to the Acme refund thread, with our refund terms.

a finance manager

### A suspicious mail, checked at its source.

why A supplier's mail asks to change bank details.

asks Did the supplier's bank-change mail pass SPF, DKIM and DMARC?

an office manager

### Receipts out of the inbox, into Drive.

why Every receipt is an attachment, somewhere in mail.

asks Save this month's receipt attachments to the Receipts folder.

what you can ask

## Your AI searches, sorts and drafts in your Gmail as you.

Your script reads, sorts and drafts. It sends a draft only after your go.

Search with Gmail's operators

`from:`, `has:attachment`, `after:`, as in the search box.

Read a message or a thread

Each attachment listed with its name, size and type.

Check SPF, DKIM and DMARC

The message as delivered, with every verdict and every MIME part.

Draft, redraft, send on your go

Files attached from Drive; the draft you approved goes out as it stands.

Attachments, read or filed

One file's bytes straight back, or every file saved to a Drive folder.

Labels, read state, cleanup

Unread counts per label; a sender's mail trashed in batches.

where the credential stays

## Gmail access you granted to yourself.

You authorise Gmail once, for a script in your own account.

in your Google account, and in your secret store

Your deployment, executing as you, and its key, made by you and kept in your store. Mail moves between your computer and Google only. No connector's server reads it on the way.

in your brain

A page in your space names the deployment and the key. No value, no mail.

what instibrain never touches

## What never happens to your mail.

The script reads and drafts as you. A send waits for your go.

-
A send without your go.

Each draft waits in Gmail until you say send.

-
Mail stored with us.

Messages travel between Google and your computer, never through our server.

-
The key in a URL.

It rides in the request, read from your store at that moment.

the limits

## Mail your AI trashes still counts toward your storage.

It comes from Gmail itself, not from the script.

| Limit | What it means |
| Trash still counts toward storage | Gmail empties it after 30 days. |

before you connect it

## Your AI reads your mail, and our server never does.

**Will the AI ever send a mail?**

Only after your go. It sends the draft you saw, as it stands.

**Why not reach Gmail through a connector?**

Your own deployment runs as you, across your whole mailbox, called straight from your computer. No other company's server holds your mail on the way.

**Does instibrain read my mail?**

No. Our server stores a page naming your deployment, never a message. The script runs in your account.

## Your inbox, sorted and drafted as you.

Deploy once. Claude Code and Codex then read and draft your mail as you, and send on your go.

Request access  →  Connect Claude Code
documents and files  Google Sheets

Formats, formulas, tabs and real dates, through your own script.
documents and files  Google Docs

Docs edited in place, the writer's text untouched, through your own script.
documents and files  Google Drive

Files, sharing and shared drives, through the folder and your own script.
documents and files  Google Apps Script

The one script behind Gmail, Sheets, Docs, Drive and Calendar.
documents and files  Notion

Pages and databases you can open, under your own token.
every kind  Works with

Every system by kind, and the rule each page shares.

---

instibrain is made by WebWork AI, Inc. Everyone uses the same models · the difference is what yours knows.
