LogoSTMCP
Download
imap-mcp

imap-mcp

An IMAP Model Context Protocol (MCP) server that exposes IMAP email operations as tools for AI assistants, enabling secure email draft creation and integration with IMAP-compatible servers like Gmail and Outlook.

Tools

1. create-draft

Creates a draft email message and saves it to the IMAP server's drafts folder.

Open Graph image for imap-mcp

JSON Config

{
  "mcpServers": {
    "imap": {
      "command": "npx",
      "args": [
        "imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "<IMAP host>",
        "IMAP_PORT": "<IMAP port>",
        "IMAP_USERNAME": "<IMAP username>",
        "IMAP_PASSWORD": "<IMAP password>",
        "IMAP_USE_SSL": "<true or false>"
      }
    }
  }
}

Useful Links

Information