I gave Claude Code access to my Fastmail inbox via MCP (Model Context Protocol) and it's been surprisingly useful.
38 tools — search, send, draft, bulk operations, contacts, calendar. All from the terminal. Self-hosted with Docker + Caddy reverse proxy.
First thing I did: asked Claude to review my last week of email. It pulled 50 messages, categorised them, and flagged an overdue library book, an expiring GitHub token, and a meeting the next morning.
The interesting technical problem was making it work with multiple concurrent connections — the original server only supported one session at a time.
Wrote it up here:
https://blog.dpinkerton.com/posts/fastmail-mcp-server-ema…
Repo (MIT):
https://github.com/AusDavo/fastmail-mcp