Koskamo

imap-mcp

An open-source IMAP MCP server that exposes email operations as tools for AI assistants. It allows agents to connect to any IMAP-compatible email server and create draft messages saved to the server's drafts folder, supporting secure authentication via environment variables.

Package and access

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

imap-mcp logo, by LangmailCommunity listingLocal stdioSource reviewed; not executedPublished by Langmail
You need:Uses environment variables for secure credential management
Vendor documentation

What you can do with it

  • Create draft emails in the IMAP server's drafts folder
  • Connect to any IMAP-compatible email server like Gmail or Outlook
  • Expose IMAP operations as tools for AI assistants

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.

imap-mcp 0.1.1

npm
imap-mcp package definition
{
  "version": "0.1.1",
  "transport": "stdio",
  "identifier": "imap-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "IMAP_HOST",
      "format": "string",
      "isRequired": true,
      "description": "Hostname of the IMAP server (e.g. imap.example.com)"
    },
    {
      "name": "IMAP_PORT",
      "format": "number",
      "default": "993",
      "description": "Port of the IMAP server"
    },
    {
      "name": "IMAP_USERNAME",
      "format": "string",
      "isRequired": true,
      "description": "Username for IMAP authentication, also the default From address"
    },
    {
      "name": "IMAP_PASSWORD",
      "format": "string",
      "isRequired": true,
      "description": "Password for IMAP authentication"
    },
    {
      "name": "IMAP_USE_SSL",
      "format": "boolean",
      "default": "false",
      "description": "Set to true to connect over TLS"
    }
  ]
}

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": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "imap-mcp@0.1.1"
      ],
      "env": {
        "IMAP_HOST": "<YOUR_IMAP_HOST>",
        "IMAP_PORT": "<YOUR_IMAP_PORT>",
        "IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
        "IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "imap-mcp@0.1.1"
      ],
      "env": {
        "IMAP_HOST": "<YOUR_IMAP_HOST>",
        "IMAP_PORT": "<YOUR_IMAP_PORT>",
        "IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
        "IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
      }
    }
  }
}

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": {
    "imap-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "imap-mcp@0.1.1"
      ],
      "env": {
        "IMAP_HOST": "<YOUR_IMAP_HOST>",
        "IMAP_PORT": "<YOUR_IMAP_PORT>",
        "IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
        "IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
      }
    }
  }
}

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": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "imap-mcp@0.1.1"
      ],
      "env": {
        "IMAP_HOST": "<YOUR_IMAP_HOST>",
        "IMAP_PORT": "<YOUR_IMAP_PORT>",
        "IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
        "IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
      }
    }
  }
}

Let your agent find its tools

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