email for Gemini CLI
io.github.n24q02m/email
IMAP/SMTP email for AI agents -- read, send, organize, and manage attachments across accounts.
client:Gemini CLI
transport:stdio
runtime:npm
Install email in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"email": {
"command": "npx",
"args": [
"-y",
"@n24q02m/email"
],
"env": {
"EMAIL_CREDENTIALS": "<EMAIL_CREDENTIALS>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs