IMAP Mail for Claude Code
io.github.buzzer/imap-mcp
Read and search IMAP mailboxes and create drafts. Sending and deleting are not possible.
client:Claude Code
transport:stdio
runtime:oci
Install IMAP Mail in Claude Code
run in your project directory
claude mcp add imap-mcp -e IMAP_HOST=<IMAP_HOST> -e MAIL_USER=<MAIL_USER> -e MAIL_PASSWORD=<MAIL_PASSWORD> -e IMAP_PORT=<IMAP_PORT> -e MAIL_ADDRESS=<MAIL_ADDRESS> -e MAIL_FROM_NAME=<MAIL_FROM_NAME> -e MAIL_ALIASES=<MAIL_ALIASES> -e DRAFTS_FOLDER=<DRAFTS_FOLDER> -e MARK_READ_ON_READ=<MARK_READ_ON_READ> -e DRAFT_UNREAD=<DRAFT_UNREAD> -e BCC_SELF=<BCC_SELF> -- docker run -i --rm ghcr.io/buzzer/imap-mcp:0.2.1
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs