mcp-mail
A self-hosted IMAP/SMTP email MCP server that enables AI clients like Claude, ChatGPT, and Cursor to read, search, draft, and send emails from existing mailboxes. It features per-client permissions, an audit log, and supports various mail providers including Gmail, Fastmail, and iCloud.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List connected mailboxes and sender signatures
- Search messages by sender, subject, or body
- Read email threads and download attachments
- Create drafts and send emails
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@annseraf/mcp-mail 1.0.2
{
"version": "1.0.2",
"transport": "stdio",
"identifier": "@annseraf/mcp-mail",
"registryType": "npm",
"packageArguments": [
{
"type": "positional",
"value": "stdio"
}
],
"environmentVariables": [
{
"name": "ACCOUNTS_FILE",
"description": "Path to accounts.json (default ~/.config/mcp-mail/accounts.json)"
},
{
"name": "STDIO_PRESET",
"description": "read-only | read-draft | organize | full-no-delete | full"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-mail": {
"command": "npx",
"args": [
"-y",
"@annseraf/mcp-mail@1.0.2",
"stdio"
],
"env": {
"ACCOUNTS_FILE": "<YOUR_ACCOUNTS_FILE>",
"STDIO_PRESET": "<YOUR_STDIO_PRESET>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-mail": {
"command": "npx",
"args": [
"-y",
"@annseraf/mcp-mail@1.0.2",
"stdio"
],
"env": {
"ACCOUNTS_FILE": "<YOUR_ACCOUNTS_FILE>",
"STDIO_PRESET": "<YOUR_STDIO_PRESET>"
}
}
}
}VS Code
{
"servers": {
"mcp-mail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@annseraf/mcp-mail@1.0.2",
"stdio"
],
"env": {
"ACCOUNTS_FILE": "<YOUR_ACCOUNTS_FILE>",
"STDIO_PRESET": "<YOUR_STDIO_PRESET>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-mail": {
"command": "npx",
"args": [
"-y",
"@annseraf/mcp-mail@1.0.2",
"stdio"
],
"env": {
"ACCOUNTS_FILE": "<YOUR_ACCOUNTS_FILE>",
"STDIO_PRESET": "<YOUR_STDIO_PRESET>"
}
}
}
}Let your agent find its tools
Find servers like mcp-mail from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.