Skip to content
Gemini CLI

your mail mcp for Gemini CLI

io.github.wildsurfer/your-mail-mcp

Read-only, self-hosted MCP access to IMAP email, mirrored locally and indexed by notmuch.

client:Gemini CLI transport:stdio runtime:oci

Install your mail mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

{
  "mcpServers": {
    "your-mail-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/wildsurfer/your-mail-mcp:0.4.0"
      ],
      "env": {
        "PUBLIC_URL": "<PUBLIC_URL>",
        "OAUTH_PASSPHRASE": "<OAUTH_PASSPHRASE>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

your mail mcp in other clients