MCP Enabled Email Reader
@Safe-Swiss-Cloud-AG
MCP server to connect to an email server and search emails
Overview
What is MCP Enabled Email Reader?
MCP Enabled Email Reader is a Model Context Protocol (MCP) server that exposes three MCP tools – search_emails, download_attachment, and list_folders – to enable reading emails through MCP-enabled AI tools. It is designed for users of Claude Desktop, LibreChat with Ollama, or any MCP-compatible assistant.
How to use MCP Enabled Email Reader?
Install Python 3.10+ and uv, then add the server configuration to your claude_desktop_config.json using uvx with the repository URL and environment variables for IMAP server, email account, encrypted password, and secret key. The server will then be available to your MCP client.
Key features of MCP Enabled Email Reader
- Search emails via the
search_emailstool - Download attachments using
download_attachment - List email folders with
list_folders - Works with any IMAP email server
- Supports encrypted password storage
- Tested on Claude Desktop and LibreChat
Use cases of MCP Enabled Email Reader
- Let an AI assistant search your inbox for specific emails
- Automatically download attachments from selected messages
- Browse email folders and retrieve messages without a traditional client
FAQ from MCP Enabled Email Reader
What tools does the server provide?
It provides three MCP tools: search_emails, download_attachment, and list_folders.
What dependencies are required?
You need Python 3.10 or higher, the uv package manager, and an MCP-enabled AI tool such as Claude Desktop.
Where is the email data stored?
Your email credentials are stored locally in claude_desktop_config.json with the password encrypted using a secret key. Email data itself remains on the IMAP server.
How is my password secured?
The password is encrypted with a secret key (EMAIL_SECRET_KEY) and stored as EMAIL_PASSWORD_ENC in the configuration file. The secret key can decrypt it, but the config file resides only on your local machine.
Is this server compatible with any MCP client?
It has been tested on Claude Desktop and LibreChat with Ollama, but should work with any MCP‑enabled client that supports stdio transport.