- Version
0.2.1- Runs
- Locally
- Packages
- oci
- Published
- Nov 13, 2026
Get started
Add it to your agent
claude mcp add imap-mail -e IMAP_HOST=… -e MAIL_USER=… -e MAIL_PASSWORD=… -- docker run -i --rm ghcr.io/buzzer/imap-mcp:0.2.1Run in your terminal. Add --scope project to share it with your team through .mcp.json.
codex mcp add imap-mail --env IMAP_HOST=… --env MAIL_USER=… --env MAIL_PASSWORD=… -- docker run -i --rm ghcr.io/buzzer/imap-mcp:0.2.1Saved to ~/.codex/config.toml.
{
"mcpServers": {
"imap-mail": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/buzzer/imap-mcp:0.2.1"
],
"env": {
"IMAP_HOST": "…",
"MAIL_USER": "…",
"MAIL_PASSWORD": "…"
}
}
}
}Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
{
"servers": {
"imap-mail": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/buzzer/imap-mcp:0.2.1"
],
"env": {
"IMAP_HOST": "…",
"MAIL_USER": "…",
"MAIL_PASSWORD": "…"
}
}
}
}Add to .vscode/mcp.json, then start it from the MCP view in Copilot Chat.
gemini mcp add imap-mail docker run -i --rm ghcr.io/buzzer/imap-mcp:0.2.1Saved to .gemini/settings.json.
Before you start
Environment variables
IMAP_HOSTrequiredIMAP server host name (IMAPS), e.g. imap.example.comMAIL_USERrequiredIMAP login, usually the mail addressMAIL_PASSWORDrequiredsecretIMAP password; an app-specific password where the provider requires oneIMAP_PORTIMAPS portMAIL_ADDRESSOwn sender address, if it differs from the loginMAIL_FROM_NAMEDisplay name used as sender of draftsMAIL_ALIASESAdditional allowed sender addresses, comma-separated; *@example.com allows a whole domainDRAFTS_FOLDERDrafts folder, if it is not detected automaticallyMARK_READ_ON_READread_message marks every message it returns as readDRAFT_UNREADStore new drafts as unread, so they stand out in the mailbox