Skip to content
Gemini CLI

MailFathom for Gemini CLI

io.github.krzysztof318/mailfathom

Security-first, self-hosted email archive with search, cited answers, and sending for AI agents.

client:Gemini CLI transport:streamable-http

Install MailFathom in Gemini CLI

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

{
  "mcpServers": {
    "mailfathom": {
      "httpUrl": "https://{mailfathom_host}/mcp"
    }
  }
}

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

MailFathom in other clients