Skip to content
Grok

IMAP Draft for Grok

io.github.zedong-peng/imap-draft-mcp

IMAP mail for agents: search, read and write drafts. It can't send, move or delete.

client:Grok transport:stdio runtime:oci

Install IMAP Draft in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "imap-draft-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
      ],
      "env": {
        "EMAIL_CREDENTIALS": "<EMAIL_CREDENTIALS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

IMAP Draft in other clients