Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By wildsurferv0.5.1MITIn 1 marketplace
Lets you ask your AI assistant questions across all your IMAP mail, like finding a booking reference or a promise made in a thread. Claims it can only read: no path sends, deletes or moves mail. Needs Docker and your account passwords, which sit in plain text inside the container.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Your mail already holds the answers: booking references, gate codes, invoices, warranty periods, promises people made in writing. This server lets your AI assistant find them, and it can only read.
Ask it things like:
Use it for:
Setup is two files and docker compose up -d. See Quick start.
A self-hosted MCP server. It mirrors one or more IMAP accounts into a local maildir with mbsync, indexes them with notmuch, and answers tool calls from that index. The Claude and ChatGPT apps attach over HTTPS with OAuth; Claude Code, Codex, Cursor and Claude Desktop attach over stdio on the same machine. Any MCP client works, so if you want full privacy you can attach one backed by a local LLM and your mail never leaves your machine.

Mail only ever moves left to right in that picture. The mirror is pull-only
by configuration. The one connection the Go code makes toward a provider is
an IMAP LIST per account, to learn what that server calls its junk and
trash folders; it never selects a mailbox and never fetches a message.
Security has the full list of what the process cannot do. The
diagram source is
docs/diagrams/how-it-works.html.
On your machine, for your machine. Docker is the only requirement; the image
at ghcr.io/wildsurfer/your-mail-mcp is built by CI for amd64 and arm64.
mkdir your-mail && cd your-mail
curl -fsSLO https://raw.githubusercontent.com/wildsurfer/your-mail-mcp/main/compose.yaml
curl -fsSL https://raw.githubusercontent.com/wildsurfer/your-mail-mcp/main/accounts.example.json -o accounts.json
Put your accounts in accounts.json. ${WORK_PASS} is replaced from the
environment, so the file itself holds no password:
{
"accounts": [
{ "name": "work", "host": "imap.gmail.com", "user": "[email protected]", "password": "${WORK_PASS}" },
{ "name": "personal", "host": "imap.mail.me.com", "user": "you", "password": "${PERSONAL_PASS}" }
]
}
Put the passwords in .env next to compose.yaml:
# .env
WORK_PASS=your-gmail-app-password
PERSONAL_PASS=your-icloud-app-specific-password
compose.yaml passes WORK_PASS and PERSONAL_PASS into the container. An
account with another variable name needs that name added under
environment: there as well.
Two provider details cost people the most time. Gmail accepts only an app
password over IMAP, and app passwords need 2-step verification turned on
first. iCloud wants the short name before @icloud.com as user; the full
address fails to log in. Every key of the file is in
the reference.
These two files hold your mail passwords. Keep the directory out of version
control and out of backups that leave the machine. If you would rather they
did not, give an account pass_cmd instead of password: a command that
prints the secret, such as cat /run/secrets/work_pass for a Docker secret,
or security find-generic-password -s your-mail -a work -w on a Mac. mbsync
runs it at connect time and nothing on disk or in the environment holds the
password. See the reference.
docker compose up -d
docker compose logs -f # watch the first sync
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub wildsurfer/your-mail-mcp --plugin your-mailPlugins from other owners that cover similar ground