AgentHubAgentHub

Email (IMAP/SMTP)

MCP ServerMCP Registry官方收录

io.github.mindstone/mcp-server-email-imap · v0.2.3

Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers

概览

Email (IMAP/SMTP) 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "mcp-server-email-imap": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-email-imap"
      ],
      "env": {
        "EMAIL_IMAP_EMAIL": "<EMAIL_IMAP_EMAIL>",
        "EMAIL_IMAP_PASSWORD": "<EMAIL_IMAP_PASSWORD>"
      }
    }
  }
}

环境变量

EMAIL_IMAP_EMAIL必填

Email address

EMAIL_IMAP_PASSWORD必填secret

App-specific password

EMAIL_IMAP_PROVIDER可选

Provider — icloud, gmail, yahoo, outlook, or custom (auto-detected from email domain if unset)

EMAIL_IMAP_IMAP_HOST可选

Custom IMAP host (for provider=custom)

EMAIL_IMAP_SMTP_HOST可选

Custom SMTP host (for provider=custom)

EMAIL_IMAP_IMAP_PORT可选

Custom IMAP port

EMAIL_IMAP_SMTP_PORT可选

Custom SMTP port

EMAIL_IMAP_ALLOW_PLAINTEXT可选

Set to 1 to opt into cleartext IMAP/SMTP (strongly discouraged)

EMAIL_IMAP_MAX_RECIPIENTS可选

Safety cap: maximum combined To+CC+BCC recipients per email_send call. Defaults to 25; raising bypasses spam-prevention guardrails against prompt-injection-driven mass sends.

EMAIL_IMAP_RATE_LIMIT_PER_HOUR可选

Safety cap: maximum email_send calls per rolling window. Defaults to 50; protects against runaway sends when injection content escapes the LLM's intent.

EMAIL_IMAP_RATE_LIMIT_WINDOW_MS可选

Sliding-window length for the rate limit (ms)

相关资源

统一 Manifest

{
  "id": "io.github.mindstone/mcp-server-email-imap",
  "type": "mcp-server",
  "version": "0.2.3",
  "displayName": "Email (IMAP/SMTP)",
  "description": "Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers",
  "repository": {
    "url": "https://github.com/mindstone/mcp-servers",
    "source": "github",
    "subfolder": "connectors/email-imap"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@mindstone/mcp-server-email-imap",
        "version": "0.2.3",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "EMAIL_IMAP_EMAIL",
            "description": "Email address",
            "isRequired": true
          },
          {
            "name": "EMAIL_IMAP_PASSWORD",
            "description": "App-specific password",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "EMAIL_IMAP_PROVIDER",
            "description": "Provider — icloud, gmail, yahoo, outlook, or custom (auto-detected from email domain if unset)"
          },
          {
            "name": "EMAIL_IMAP_IMAP_HOST",
            "description": "Custom IMAP host (for provider=custom)"
          },
          {
            "name": "EMAIL_IMAP_SMTP_HOST",
            "description": "Custom SMTP host (for provider=custom)"
          },
          {
            "name": "EMAIL_IMAP_IMAP_PORT",
            "description": "Custom IMAP port"
          },
          {
            "name": "EMAIL_IMAP_SMTP_PORT",
            "description": "Custom SMTP port"
          },
          {
            "name": "EMAIL_IMAP_ALLOW_PLAINTEXT",
            "description": "Set to 1 to opt into cleartext IMAP/SMTP (strongly discouraged)"
          },
          {
            "name": "EMAIL_IMAP_MAX_RECIPIENTS",
            "description": "Safety cap: maximum combined To+CC+BCC recipients per email_send call. Defaults to 25; raising bypasses spam-prevention guardrails against prompt-injection-driven mass sends."
          },
          {
            "name": "EMAIL_IMAP_RATE_LIMIT_PER_HOUR",
            "description": "Safety cap: maximum email_send calls per rolling window. Defaults to 50; protects against runaway sends when injection content escapes the LLM's intent."
          },
          {
            "name": "EMAIL_IMAP_RATE_LIMIT_WINDOW_MS",
            "description": "Sliding-window length for the rate limit (ms)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.mindstone/mcp-server-email-imap",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.mindstone%2Fmcp-server-email-imap/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Email (IMAP/SMTP) — MCP Server 安装与配置 · AgentHub