MCP server · Email
Mail MCP server
by igorolv
Let your AI read your mailbox, including on-premises Exchange, and search inside attachments.
This is a small helper program that lets your AI read your email for you. It works with company Exchange servers and with normal mailboxes like Gmail or Mail.ru. It is handy if you get a lot of mail and want to find things by asking a question instead of clicking around.
What is an MCP server? The 30-second version
On its own, your AI can only chat. It cannot see your inbox. An MCP server is a small helper program that gives your AI a new skill or a connection to an app. This one connects your AI to your mailboxes, so it can look things up and read messages for you when you ask. It only reads. It cannot send, delete or change anything.
What this MCP server does
First, the helper downloads a copy of your mail to your own computer. It turns each message and its attachments into plain text and builds a search index on your machine. When you ask your AI something, the AI uses this helper to search that local copy and read the messages it found. You get the answer in the chat, with the text of the messages and attachments. The helper never talks to the mail server while answering, only when you ask it to sync.
What you can do with it
- Find emails about a topic, a person or a date range
- Read the text inside PDF, Word, Excel, PowerPoint and ZIP attachments
- Follow a whole email conversation across folders
- See who sends you the most mail
- List the messages in a folder, newest first
- Refresh your local copy and see what is new
Try asking your AI
- “Find the letters about the supply contract in work and show the attachments.”
- “What came to my work mail yesterday?”
- “Show the whole discussion around this letter.”
- “What does the price list in the last letter from the supplier say?”
What it gives back to you
You get answers in the chat: matching emails, short summaries, message bodies in pieces, and the text of attachments. It can also show lists of folders, counts of messages per sender, and the progress of a sync. Nothing in your mailbox is changed, and reading a message does not mark it as read.
Before you start
What you need
- Java 25 installed on your computer
- Pandoc 3.x installed and available on your PATH (a free tool that converts documents)
- A connections file describing your mailboxes, with your password stored safely
- An MCP client such as Claude Code, Codex, OpenCode or VS Code
Good to know
Your AI client will see whatever the tools return, so if your mail contains passwords or codes, turn on the optional secret filter described in the docs.
Install it with your AI
Add Mail MCP server to your AI, no technical skills needed
You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.
Sign in to get the install prompt
Members get a ready-made prompt that lets the Claude desktop app check Mail MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,960 MCP servers here for you.
Who it's for
Anyone who deals with a busy mailbox, especially people on a company Exchange server who want to search their mail and attachments by asking questions.





