mcp-mail for Claude Code
io.github.annseraf/mcp-mail
Self-hosted IMAP/SMTP email for any MCP client, with per-client permissions and audit log.
client:Claude Code
transport:stdio
runtime:npm
Install mcp-mail in Claude Code
run in your project directory
claude mcp add mcp-mail -e ACCOUNTS_FILE=<ACCOUNTS_FILE> -e STDIO_PRESET=<STDIO_PRESET> -- npx -y @annseraf/mcp-mail
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs