Most email MCP servers only do IMAP reads. This one does everything: read, search, send, reply, forward, bulk operations, Microsoft Graph API, and Exchange Web Services — with real OAuth2…
mail-mcp is an MCP project maintained in the tecnologicachile/mail-mcp repository. The maintainer describes its purpose as “Most email MCP servers only do IMAP reads. This one does everything: read, search, send, reply, forward, bulk operations, Microsoft Graph API, and Exchange Web…”. Read the project documentation for the complete scope.
The project provides a local client configuration using ./target/release/mail-mcp. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
The example declares MAIL_IMAP_DEFAULT_HOST, MAIL_IMAP_DEFAULT_USER, MAIL_IMAP_DEFAULT_PASS, MAIL_SMTP_DEFAULT_HOST, MAIL_SMTP_DEFAULT_PORT, MAIL_SMTP_DEFAULT_USER, MAIL_SMTP_DEFAULT_PASS, MAIL_SMTP_DEFAULT_SECURE, MAIL_IMAP_WRITE_ENABLED, MAIL_SMTP_WRITE_ENABLED. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
{
"mcpServers": {
"mail": {
"command": "./target/release/mail-mcp",
"env": {
"MAIL_IMAP_DEFAULT_HOST": "imap.gmail.com",
"MAIL_IMAP_DEFAULT_USER": "you@gmail.com",
"MAIL_IMAP_DEFAULT_PASS": "your-app-password",
"MAIL_SMTP_DEFAULT_HOST": "smtp.gmail.com",
"MAIL_SMTP_DEFAULT_PORT": "587",
"MAIL_SMTP_DEFAULT_USER": "you@gmail.com",
"MAIL_SMTP_DEFAULT_PASS": "your-app-password",
"MAIL_SMTP_DEFAULT_SECURE": "starttls",
"MAIL_IMAP_WRITE_ENABLED": "true",
"MAIL_SMTP_WRITE_ENABLED": "true"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| MAIL_IMAP_DEFAULT_HOST | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_IMAP_DEFAULT_USER | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_IMAP_DEFAULT_PASS | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_SMTP_DEFAULT_HOST | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_SMTP_DEFAULT_PORT | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_SMTP_DEFAULT_USER | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_SMTP_DEFAULT_PASS | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_SMTP_DEFAULT_SECURE | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_IMAP_WRITE_ENABLED | Declared in the maintainer’s client configuration. | Check documentation |
| MAIL_SMTP_WRITE_ENABLED | Declared in the maintainer’s client configuration. | Check documentation |
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Inbox intelligence — search, read, draft and send Gmail through your assistant with OAuth auto-setup.
Read and write Jira, Confluence, Bitbucket, JSM and Compass from your AI client — with your own permissions.
Read and send Telegram messages through your assistant — chats, channels and history via the client API.
Enables Discord bot integration with Model Context Protocol (MCP) compatible applications like Claude Desktop.