DaMail

DaMail

Self-hosted mail hub for all mailboxes

Description

Switching between Gmail, Outlook and your work inbox just to find one email from last week gets old fast. DaMail pulls every mailbox you own into a single self-hosted interface, syncing in real time — read, archive and star actions write back to the original server so nothing falls out of sync.

What sets it apart from a regular mail client is scoped access control for AI agents: you issue separate credentials for Claude, ChatGPT, Cursor and other tools, specifying exactly which mailboxes they can access and whether they can send. By default, any email an agent drafts waits for your approval before it goes out.

Features



Real-time multi-mailbox sync:Works with Gmail, Outlook, iCloud, QQ Mail, NetEase 163, Tencent and Alibaba business mail, and any IMAP server. IMAP IDLE push means new mail arrives in seconds.

AI mail analysis:Automatically tags each email with category, priority and needs-reply status, then extracts verification codes, bill amounts and to-do items. Choose your model — Claude, OpenAI, any compatible API, or a local one.

MCP and REST API:Connect via standard MCP protocol or REST endpoints. Claude Code and Cursor hook up with a single command. Each API key has independently scoped permissions with a full audit log.

Automation rules:Set inbox rules with AI-powered conditions and dry-run mode. Pair them with push notifications through Bark, WeChat Work, DingTalk, Feishu, Telegram or webhooks.

Subscription management:See your newsletter subscriptions sorted by open rate and unsubscribe in one click — no need to visit the sender's site.

One-command Docker deploy:A single curl command handles the full installation. All data and credentials stay on your machine, with mailbox passwords encrypted using your own master key.