Inbox Triage Agent
An AI inbox triage agent that reads new Gmail messages, applies priority labels, drafts replies for the ones that need you, and emails you a short daily digest. Nothing is sent without your approval.
Who it's for
Founders, freelancers, and operators who lose an hour a day to email.
What goes in
- Gmail account (OAuth)
- Your label rules (editable YAML)
- An LLM API key
What comes out
- Priority labels on every new email
- Reply drafts saved in Gmail
- A daily digest email
Setup in 4 steps
- Import the n8n workflow (or run the Python version).
- Connect Gmail and add your LLM key.
- Edit the label rules file to match how you work.
- Run the included sample-data test, then switch it on.
Tool stack
n8n, Claude Code, Hostinger VPS (n8n hosting)
Cost per run
Estimate, not yet measured: about $0.02/day for 100 emails on a small, cheap model. The script prints your real token usage after each run.
What's included
- n8n workflow JSON (no-code runtime)
- Python code version (stdlib only) + AGENTS.md for Claude Code / Cursor
- README setup guide
- Offline sample data + tests
- Honest cost notes
- Changelog
FAQ
What does the Inbox Triage Agent do?
It labels and prioritizes new Gmail messages, drafts replies for the ones that need a response, and sends you one daily digest. Drafts stay as drafts until you send them.
Does it send emails on its own?
No. By default it only creates drafts. Auto-send is off and has to be turned on deliberately in the config.
Do I need n8n?
No. Every template ships as an n8n workflow and as a Python version with an AGENTS.md file, so you can run it with n8n, Claude Code, Cursor, or plain Python.
Which email providers are supported?
Gmail at launch. Outlook support is on the roadmap.