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
{
"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