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.
Source: HN · Sep 17, 2026
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
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.
Reverse engineer Claude Desktop to find a path to Linux support
A maintainer pointed Claude at the minified Claude Desktop app to find why Cowork only runs on macOS; it found the VM and sandbox layers and mapped a route to Linux.
Automate invoice organizing and monthly invoice emails
The author demos Cursor sorting inconsistently named invoice files and handling monthly invoicing by editing a PDF, attaching it, checking the recipient and sending the email.
- GitHub Copilot
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 recurring work with scheduled Cowork tasks
The author tested six scheduled tasks: email briefings, file cleanup, Stripe reporting, invoice reconciliation, notes tidying and flight price tracking.
- Custom agent
Create bills in QuickBooks from supplier invoices
A commenter uses an AI agent connected to QuickBooks Online, email and Drive to check the books and turn supplier invoices into bills.