Koskamo

Mail MCP Server

A read-only MCP server that indexes on-premises Exchange (EWS) and IMAP mailboxes locally. It converts messages and attachments (PDF, Office, ZIP) to Markdown, builds a Lucene search index, and allows AI agents to search across subjects, bodies, and attachment contents in English and Russian without modifying the mailbox.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Mail MCP Server logo, by igorolvCommunity listingLocal stdioSource reviewed; not executedPublished by igorolv
Vendor documentation

What you can do with it

  • Search email subjects and bodies for specific keywords
  • Extract and search text inside PDF and Office attachments
  • Retrieve email conversations across multiple folders
  • Find specific contracts or documents within email archives

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Packages and installation

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

ghcr.io/igorolv/mail-mcp-server:0.1.1

oci
ghcr.io/igorolv/mail-mcp-server:0.1.1 package definition
{
  "transport": "stdio",
  "identifier": "ghcr.io/igorolv/mail-mcp-server:0.1.1",
  "registryType": "oci",
  "runtimeArguments": [
    {
      "name": "--mount",
      "type": "named",
      "value": "type=bind,src={data_dir},dst=/data",
      "variables": {
        "data_dir": {
          "format": "filepath",
          "isRequired": true,
          "description": "Host directory containing connections.json (for example ~/.mail-mcp-server)"
        }
      },
      "isRequired": true,
      "description": "Host directory holding connections.json; the server also keeps the local mail copy, index and logs there."
    }
  ],
  "environmentVariables": [
    {
      "name": "MAIL_MCP_REDACT_SECRETS",
      "default": "false",
      "description": "Replace recognized passwords, codes and tokens in tool responses"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Try asking

Reviewed prompts from cited playbooks. Connect the listed servers before using them.

Answer customer support emails
Monitor the support inbox, answer customer emails, and flag any uncertain cases for human review.
Route bug reports to development team
Identify any incoming support emails that report bugs or technical errors. Extract the customer's exact error description and any attached files. Route this information to the development agent for fixing. Ensure that the customer is not notified of a resolution until the fix has been verified. Report back on any bugs that have been routed.
Triage and draft replies for support emails
Please monitor the support inbox for new emails. For each new message, read the thread and any attachments. If the query can be answered truthfully using our product documentation, draft a reply. If the issue requires human judgment or involves a bug, flag it for review. Do not send any replies without my explicit approval. Present the drafted replies or flagged issues for my review.

Agent playbooks using this server

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": {
    "mail-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MAIL_MCP_REDACT_SECRETS=<YOUR_MAIL_MCP_REDACT_SECRETS>",
        "ghcr.io/igorolv/mail-mcp-server:0.1.1"
      ],
      "env": {
        "MAIL_MCP_REDACT_SECRETS": "<YOUR_MAIL_MCP_REDACT_SECRETS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mail-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MAIL_MCP_REDACT_SECRETS=<YOUR_MAIL_MCP_REDACT_SECRETS>",
        "ghcr.io/igorolv/mail-mcp-server:0.1.1"
      ],
      "env": {
        "MAIL_MCP_REDACT_SECRETS": "<YOUR_MAIL_MCP_REDACT_SECRETS>"
      }
    }
  }
}

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": {
    "mail-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MAIL_MCP_REDACT_SECRETS=<YOUR_MAIL_MCP_REDACT_SECRETS>",
        "ghcr.io/igorolv/mail-mcp-server:0.1.1"
      ],
      "env": {
        "MAIL_MCP_REDACT_SECRETS": "<YOUR_MAIL_MCP_REDACT_SECRETS>"
      }
    }
  }
}

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": {
    "mail-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MAIL_MCP_REDACT_SECRETS=<YOUR_MAIL_MCP_REDACT_SECRETS>",
        "ghcr.io/igorolv/mail-mcp-server:0.1.1"
      ],
      "env": {
        "MAIL_MCP_REDACT_SECRETS": "<YOUR_MAIL_MCP_REDACT_SECRETS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Mail MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.