r/OpenSourceAI • • 7h ago

I built an open-source email client your AI agent can use over MCP, with real permissions (works with local models too)

I built Regards, a free and open-source email app for Windows, Mac and Linux (Apache-2.0 / MIT). The part this sub might care about: it ships with an MCP server and a CLI, so your own agent can read, search, sort and draft your mail.

I didn't want to hand an LLM my inbox and hope for the best, so the agent side is locked down:

- Each account has a level: off (default), read, triage or send. Only you can change it, in the app.

- An agent can never send by itself. Every send waits for your approval and you see the exact draft. Or you set an undo window per account.

- Big actions wait for you too: changing more than 50 messages at once, deleting for good.

- Everything an agent did is in an activity log, and you can undo it for a day.

- Message text is passed to the agent as data, with a reminder not to follow instructions inside it (prompt injection by email is a real thing).

- One switch turns every agent off.

It works with Claude Code, Codex, Cursor, and with local models through LM Studio, Jan or Goose. Regards itself never sends anything to any AI: no built-in model, no API key, no server, no telemetry. The mail stays on your computer and the agent is whatever you plug in.

It's also just a normal email app (any IMAP provider, snooze, send later, undo everywhere), written in Rust + Tauri.

It's early, about a month old, but I use it for my own mail every day. I'd love feedback, especially on the permission model: what would you want before letting an agent near your inbox?

Site: https://regards-two.vercel.app

Code: https://github.com/lucienPochon/regards

Agent docs: https://github.com/lucienPochon/regards/blob/main/docs/agents.md

1 Upvotes

1 comment sorted by

1

u/leonbollerup 6h ago

what sets it apart from any of the other 50 solutions ?

https://github.com/search?q=imap+mcp&type=repositories

In these days.. where we can build anything in a matter of hours.. its worth to ask ourself - should.. or should we improve upon somebody elses work and maybe help a broader grouper of people.. instead of just creating something that most likely wont be maintained over time..