create-email-agent
v1.0.1
Published
Set up your own AI email agent with Claude Code in minutes
Maintainers
Readme
create-email-agent
Set up your own AI email agent with Claude Code in 5 minutes.
What you get
An AI alter ego that reads your Gmail, understands your context, and can respond to emails on your behalf. It asks before sending unless you tell it to be autonomous.
Prerequisites
- Claude Code (requires Claude Max subscription, $100/mo)
- A Gmail account with 2-factor auth enabled
- Node.js 18+ and git
Setup
npx create-email-agentThe wizard will:
- Check your prerequisites
- Ask for your Gmail address and App Password
- Ask for your AI agent's name and your context
- Install and build the Gmail MCP server locally
- Configure Claude Code to use it
- Generate a CLAUDE.md template for your AI's context
After setup:
- Restart Claude Code (so it loads the new Gmail server)
- Edit CLAUDE.md — fill in the context sections about you, your team, your projects
- Open Claude Code and say: "Check my inbox and tell me what needs attention"
Getting a Gmail App Password
- Go to https://myaccount.google.com/apppasswords
- You may need to enable 2-factor auth first
- Create a new app password for "Mail"
- Copy the 16-character password (looks like
xxxx xxxx xxxx xxxx)
How it works
- Gmail MCP server runs locally on your machine — your credentials never leave your computer
- CLAUDE.md is your AI's brain — the more context you give it, the better it performs
- Default mode is supervised — it shows you drafts before sending
- Say "be autonomous" in a session to let it send without asking
Upgrading
This gives you Tier 1 — a personal email assistant. For persistent memory across sessions or multi-project orchestration, see the full guide.
License
MIT
