Phase 1 — Scaffold the Gmail agent

Paste into Claude Code at the

inbox-agent

repo root.


Scaffold this folder so Claude Code, running here, IS the Gmail triage agent.

Do not write any Node/Python that calls the Anthropic API. Do not invent a standalone runtime. The agent is you, Claude Code, with the right tools enabled in this directory.

Build only folder structure, MCP config, and permissions.

Gmail auth path:

the community @gongrzhe/server-gmail-autoauth-mcp server. Not Anthropic's hosted Gmail connector — that one is drafts-only by design (no

send_email

, no filter creation), which kills Phase 3+ of this demo. GongRzhe exposes the full 19-tool Gmail surface and uses Google Cloud OAuth. Defaults to

~/.gmail-mcp/

, but supports

GMAIL_OAUTH_PATH

/

GMAIL_CREDENTIALS_PATH

env vars so all state can live inside the repo at

.gmail-mcp/

.