Stop starting your day with 60 unread emails
You open your inbox and it's a wall of unread mail: a real lead buried under three newsletters, an invoice that needs paying, a customer waiting on a reply since yesterday, and a dozen things that are just FYI. Before you've had coffee, you're already triaging by hand, and the one that mattered slips past.
This kit is a triage assistant that runs each morning. Claude reads your new mail, tags every thread (Lead, Invoice, FYI, Needs reply), writes a one-line summary so you know what each is without opening it, and drafts a reply into Gmail's Drafts for the ones that need one. It never sends. You open Gmail to a sorted inbox with replies already written, read them, and hit send on the ones you like.
Connect Gmail: reuse the Secretary kit's Google step
You already wired up Google access in the AI Secretary kit. If you set up a Google Cloud project and OAuth there, reuse the same credentials here: same Google login, new job.
- In Google Cloud Console, enable the Gmail API for your project.
- Create an OAuth client (Desktop app) and download the credentials file.
- Run the kit's
npm run auth: it opens the consent screen, you approve the read, label, and draft scopes, and a token is saved on your machine.
Set the scopes: read, label, draft, never send
| Google scope | What it lets the kit do | In this kit? |
|---|---|---|
| gmail.readonly | Read new threads to label and summarize | Yes |
| gmail.labels | Create and apply labels (Lead, Invoice, FYI, Needs reply) | Yes |
| gmail.compose | Save reply drafts into your Drafts folder | Yes |
| gmail.send | Send email on your behalf | No, on purpose |
| gmail.modify (delete) | Delete or permanently change mail | No |
Give it a brain: connect Claude
- Go to console.anthropic.com and sign in.
- Open API Keys โ Create Key.
- Copy the key (it starts with
sk-ant-). The setup wizard saves it on your machine.
claude-opus-4-8 (sharpest). High volume? Set claude-haiku-4-5 to cut cost.
Try it: triage a batch of mail, send nothing
Tap a sample batch, or paste your own (separate emails with a blank line):
Open Gmail to a sorted inbox: review, then hit send
โข It never sends. There is no send scope; drafts sit in Drafts until you press send.
โข It never deletes, archives, or permanently changes your mail. It only reads, labels, and drafts.
โข Your data stays in your Google account. The kit holds a scoped token you can revoke at any time.
Run it on a schedule: triage waiting every morning
npm run triage at, say, 7am. By the time you
open Gmail, it's sorted and drafted. It also runs as an MCP server so you (or
Claude) can trigger a triage as a tool, the same idea from the MCP lesson.npm run dryrun # triage a sample batch in your terminal, nothing sends npm run triage # read new mail, label + summarize + save drafts (still no send) npm start # run it on the schedule in your config npm run mcp # expose it as an MCP server (drive it from Claude)
DRAFT_ONLY on and there is no code path that sends mail. It plans and
drafts; the press of "send" is always yours.Run it yourself: it's free and it's the real thing
The kit is a complete, runnable, MIT-licensed repo: connect Gmail with scoped OAuth, let Claude label, summarize, and draft, and park every reply in Drafts for you to approve. Runs on your machine, nothing crippled, and it cannot send.
Get the free kit on GitHub โGo live
With the kit downloaded:
npm install npm run setup # Claude key + Google credentials saved on YOUR machine npm run auth # one-time Google consent (read, label, draft scopes) npm run triage # read new mail, label + summarize + draft (never sends)
Open Gmail and you'll find your new mail labeled, each thread summarized, and replies
waiting as drafts. Prefer to watch it first? npm run dryrun triages a sample
batch in your terminal without touching your inbox. Pair it with
the AI Secretary for the Google setup, and read
the AI safety lesson for why draft-only, scoped access is
the right default.
Want it wired to your real inbox and your team's shared mailboxes?
This kit is the DIY taste. We wire this to your real inbox, your rules, and your team's shared mailboxes, so leads route to the right person, invoices land in the right place, and your whole team opens a triaged inbox every morning. We run it and keep it tuned.
Have Rabbithole run it โ โณ Pair it with the AI Secretary