Features
What makes Pigeon different — the highlights at a glance.
Pigeon is a simple, beautiful, practical email client, with a REST API and MCP for AI agents. Everything below ships in one Go binary.
One binary, zero setup
- Single static binary. The web UI, REST API, MCP server and CLI live in one Go executable — no external database, no frontend build chain.
- One command to run.
pigeon serveopens the web UI athttp://127.0.0.1:8787; data lives in~/.pigeon. - One-line install. An install script downloads the latest release for Linux amd64/arm64 — see Quick Start.
Local-first
- Mail stays close. IMAP messages are cached in a local SQLite database, so cached mail can be browsed and searched offline.
- No middleman. Mail is fetched directly from your IMAP servers — no cloud relay and no telemetry.
- Live sync. Mailboxes auto-sync while the page is open; the interval is configurable from 30 seconds to 15 minutes, or off.
- Full history. The first sync pulls the most recent week; “Load more” then walks back day by day to older mail.
Three ways to use it
| Interface | Best for |
|---|---|
| Web UI | Browsing and reading mail in the browser |
| REST API | Scripts and integrations — curl-friendly JSON |
| MCP server | Claude Code, Claude Desktop and other MCP clients (stdio and Streamable HTTP, 8 mail tools) |
| CLI | pigeon digest prints an unread summary, with JSON output |
Web UI highlights
- Works out of the box. Sign in with just your email and password — the provider (Gmail, Outlook, QQ, 163 and more) is detected automatically.
- Configurable sender grouping. Turn on “Group messages by sender” in Settings to collapse the list into one row per sender; open a sender to see their messages in the reader pane and expand any of them in place. The switch is stored server-side and shared by every browser.
- Cross-account search. The search box above the message list searches
every account’s cached mail at once. Metadata (subject, sender, recipients)
is matched by default for speed; an advanced panel adds sender, subject and
date filters plus an opt-in body search. Results carry a per-account chip.
Press
/anywhere to jump to the search box. - Remote-image privacy. Remote images are blocked by default; a banner offers one-click reveal, and a setting can auto-load them instead.
- Attachments on demand. Attachment names and sizes render under the message body; click one to download it. Files are cached locally during sync (up to 25 MB each, larger ones skipped), so message detail stays fast and downloads never re-fetch from the provider.
- Account display names. The Settings → Accounts tab sets a display name per account; it appears in the sidebar and as the sender name of outgoing mail.
- Bilingual and themed. English and Chinese UI, light and dark themes and a mobile-friendly layout.
- Keyboard navigation. Browse with the arrow keys instead of the mouse: ↑/↓ move through the message list (or sender groups when grouping is on) and the reader follows; Enter/Space opens a focused sender group; Esc closes the settings and add-account dialogs or exits search.
- Shared settings. Language, sync interval, image policy and sender grouping are stored server-side and shared by every browser.
Security
- Account passwords are encrypted with AES-256-GCM; API tokens are stored as SHA-256 hashes only.
- Loopback requests need no token; remote access requires a Bearer token.
- Message HTML renders in a sandboxed iframe with a strict CSP.
See Security & Deployment for the details.