Process and query email across providers via MCP agents
A developer built an email intelligence product using agents and MCP, running on open-source models, that lets LLMs query Gmail and Outlook mailboxes; in private beta. ·
Done withCursorCodexClaude Code
- What they did
- The developer spent six months writing the codebase with help from Cursor, Codex and Claude Code. The system runs in the cloud and connects to Gmail and Outlook mailboxes. Agents powered by open-source models process email content transiently without storing it. They derive intelligence that ChatGPT, Claude and other LLMs can query through MCP. It launches first as a ChatGPT app.
- How it went
- The codebase is largely done and running in private beta. Public launch is held up waiting on approvals from Google, Microsoft and OpenAI, which the author calls tedious. IMAP and other providers are planned for later.
- Worth knowing
- Budget time for the provider approvals from Google, Microsoft and OpenAI; the author found them a slow, tedious gate even after the code was finished.
Try it yourself with Cursor
Help me build a small email intelligence tool that lets an LLM query a mailbox through an MCP server. Start with [Gmail or Outlook] read-only access and add tools for [search, summarize a thread, find attachments]. Use OAuth with the minimum scopes needed. Stop when I can ask a natural-language question about my mailbox and get an answer with the source emails cited, and ask before enabling any send or delete permissions.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · Sep 17, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Let Claude read Apple Health and Fitbit data via MCP
The poster built a setup that lets Claude read Apple Health and Fitbit data and log workouts and meals through MCP.
Run a planner and cheap executor subagent coding pipeline
The commenter uses Codex with GPT-5.5 as planner and a GPT-5.4 Mini agent as executor so cheaper models handle tasks that would otherwise cost too much.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Automate payroll tax and garnishment cheque processing
A payroll team built an agent to process tax and garnishment cheques, building missing tools when it hit a system limitation.
Custom agent
Handle pharmacy refill calls with a voice agent
A voice agent at a pharmacy takes refill calls, identifies patients, submits refills or queues renewal requests to prescribers, handling 380 refills in 30 days.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.