A reply drafted from the whole thread.
whyThe history sits three forwards deep.
asksDraft a reply to the Acme refund thread, with our refund terms.
A script you deploy in your own Google account reads, sorts and drafts your mail. A draft goes out only after you say send.
team/tools/google-apps-script/google-apps-script.md an id and a key namePeople whose day starts with a full inbox.
whyThe history sits three forwards deep.
asksDraft a reply to the Acme refund thread, with our refund terms.
whyA supplier's mail asks to change bank details.
asksDid the supplier's bank-change mail pass SPF, DKIM and DMARC?
whyEvery receipt is an attachment, somewhere in mail.
asksSave this month's receipt attachments to the Receipts folder.
Your script reads, sorts and drafts. It sends a draft only after your go.
from:, has:attachment, after:, as in the search box.
Each attachment listed with its name, size and type.
The message as delivered, with every verdict and every MIME part.
Files attached from Drive; the draft you approved goes out as it stands.
One file's bytes straight back, or every file saved to a Drive folder.
Unread counts per label; a sender's mail trashed in batches.
You authorise Gmail once, for a script in your own account.
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.
A page in your space names the deployment and the key. No value, no mail.
The script reads and drafts as you. A send waits for your go.
Each draft waits in Gmail until you say send.
Messages travel between Google and your computer, never through our server.
It rides in the request, read from your store at that moment.
It comes from Gmail itself, not from the script.
| Limit | What it means |
|---|---|
| Trash still counts toward storage | Gmail empties it after 30 days. |
Deploy once. Claude Code and Codex then read and draft your mail as you, and send on your go.
Formats, formulas, tabs and real dates, through your own script.
documents and filesGoogle DocsDocs edited in place, the writer's text untouched, through your own script.
documents and filesGoogle DriveFiles, sharing and shared drives, through the folder and your own script.
documents and filesGoogle Apps ScriptThe one script behind Gmail, Sheets, Docs, Drive and Calendar.
documents and filesNotionPages and databases you can open, under your own token.
every kindWorks withEvery system by kind, and the rule each page shares.