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.
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
- 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
{
"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.
Try asking
Reviewed prompts from cited playbooks. Connect the listed servers before using them.
Monitor the support inbox, answer customer emails, and flag any uncertain cases for human review.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.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.
Cursor
{
"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
{
"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
{
"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
{
"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.