Koskamo

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.

mcp-mail logo, by AnnserafCommunity listingLocal stdioSource reviewed; not executedPublished by Annseraf
Vendor documentation

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

Community listingRegistry 1.0.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@annseraf/mcp-mail 1.0.2

npm
@annseraf/mcp-mail package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.