← Back to context

Comment by RichardChu

10 days ago

I'm working on a self-hosted MCP server to give your AI agents access to email: https://github.com/churichard/fluxmail-mcp

The main reason is because I wanted a privacy-preserving way to access my email without using ChatGPT or Claude or another hosted email connector. Also, this supports connecting multiple accounts, even multiple accounts from different email providers, with a unified API. And you can use it with any AI agent, even one you build yourself.

It supports Gmail API and IMAP/SMTP right now, with Outlook / Microsoft Graph coming soon.

very cool, I dont think email is going anywhere. im going to give it a try. im working on a tool for myself that scores emails with custom labels, auto-unsubscribes, report+block+filter anyone that doesn't respect unsubscribe

Really great idea. What are some of the access controls available

  • Thanks! I'm planning on supporting a granular permission system, so per account you should be able to customize which tools it should be able to use (e.g. readonly, read+write including drafts (but no send), or full access).

    You should be able to customize the permissions per API key as well, so if there's a case where you want to write or send something just one time then you can just swap in the API key and do that and swap back if you want to.

    There will also be a dashboard (in addition to the CLI) so that you can easily audit everything that has happened in the system.