io.github.langmail/imap-mcp
IMAP email as MCP tools: create draft messages in the Drafts folder of any IMAP mailbox.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/langmail/imap-mcp
- Version
- 0.1.2
- Author
- langmail (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 26, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: IMAP_HOST, IMAP_PORT, IMAP_USERNAME, IMAP_PASSWORD, IMAP_USE_SSL.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add imap-mcp -e IMAP_HOST=YOUR_IMAP_HOST -e IMAP_PORT=YOUR_IMAP_PORT -e IMAP_USERNAME=YOUR_IMAP_USERNAME -e IMAP_PASSWORD=YOUR_IMAP_PASSWORD -e IMAP_USE_SSL=YOUR_IMAP_USE_SSL -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"IMAP_HOST": "YOUR_IMAP_HOST",
"IMAP_PORT": "YOUR_IMAP_PORT",
"IMAP_USERNAME": "YOUR_IMAP_USERNAME",
"IMAP_PASSWORD": "YOUR_IMAP_PASSWORD",
"IMAP_USE_SSL": "YOUR_IMAP_USE_SSL"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"IMAP_HOST": "YOUR_IMAP_HOST",
"IMAP_PORT": "YOUR_IMAP_PORT",
"IMAP_USERNAME": "YOUR_IMAP_USERNAME",
"IMAP_PASSWORD": "YOUR_IMAP_PASSWORD",
"IMAP_USE_SSL": "YOUR_IMAP_USE_SSL"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"imap-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"IMAP_HOST": "YOUR_IMAP_HOST",
"IMAP_PORT": "YOUR_IMAP_PORT",
"IMAP_USERNAME": "YOUR_IMAP_USERNAME",
"IMAP_PASSWORD": "YOUR_IMAP_PASSWORD",
"IMAP_USE_SSL": "YOUR_IMAP_USE_SSL"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.langmail/imap-mcp · L’Agora
[io.github.langmail/imap-mcp — L’Agora](https://lagora.dev/en/entry/io.github.langmail/imap-mcp)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.langmail/imap-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.langmail/imap-mcp"><img src="https://lagora.dev/badge/io.github.langmail/imap-mcp.svg?lang=en" alt="io.github.langmail/imap-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.langmail/caldav-mcp Local
io.github.langmail/carddav-mcp Local
Langmail MCP for your own Stalwart: email, calendar and contacts Local