Mr Mail

io.github.GKihlstadius由 GitHub 帳號 GKihlstadius 發布v0.7.1更新於 Nov 15, 2026

Local Windows email client with 28 tools: read, draft, send on request, calendar and clean up.

已驗證STDIO僅桌面效率與工作流溝通與協作

概覽

AI 產生的概覽

Mr Mail Windows 郵件用戶端內建的 MCP 伺服器,讓助理搜尋、閱讀、起草、安排與清理郵件和行事曆。

可以做什麼
  • 搜尋、閱讀並摘要郵件,包含 Word 與 Excel 附件
  • 起草郵件並加入附件,僅在明確要求時寄出
  • 排程寄送、稍後提醒、清理郵件並退訂寄件者
  • 讀取與預訂行事曆事件、回覆邀請
適用情境
適合在 Windows 上使用 Mr Mail 郵件用戶端,並希望 Claude Code、Zed、Cursor 等 MCP 助理不必離開應用程式就能整理收件匣、起草回覆、處理附件與管理行事曆的人。
執行需求
僅限 Windows,需安裝並執行 Mr Mail 桌面應用程式;MCP 伺服器是從應用程式安裝資料夾啟動的本機 stdio 程序。需要 IMAP/SMTP 郵件帳號(Gmail 與 Outlook 需應用程式專用密碼,或以自建 OAuth 用戶端 ID 登入)。選用的本機 HTTP 模式使用 localhost 與 bearer 權杖。
安裝前請注意
助理可以寄送、刪除與退訂;預設情況下應用程式會彈窗確認,並提示助理只儲存草稿,但這些權限可按動作調整。它會處理郵件憑證與信箱資料,應用程式直接連線你的郵件服務商。選用的應用程式內 AI 功能會將內容傳送給你選擇的 AI 服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mr Mail,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Mr Mail: the email client your AI agent can drive]

[Download] [Stars] [Downloads]

[CI] [MIT license] [Windows 10 and 11] [MCP] [English and Swedish]

A fast, private email client for Windows that Claude Code, Zed and any MCP agent can drive.

Download  ·  Features  ·  AI agents  ·  FAQ  ·  Contribute


[Mr Mail demo]

Why Mr Mail

Your mail stays yours

No account, no cloud sync, no tracking. Mr Mail talks IMAP and SMTP straight to your provider and keeps everything on your computer. Passwords are encrypted by Windows, remote images are blocked until you allow them.

Built for AI agents

A built in MCP server with 28 tools. Your agent can search, read, summarize, draft, attach files, read Word and Excel attachments, schedule, clean up, answer invitations and read and book your calendar. It never sends unless you ask.

Fast and calm

IMAP IDLE for instant mail, a local SQLite cache and a list that stays smooth with tens of thousands of emails. A clean design in the spirit of Apple Mail, in light and dark.

Let your AI agent handle email

[Claude Code drafts a reply that opens in Mr Mail]

Install Mr Mail, open Settings, Control with AI tools and click Connect next to your agent. Mr Mail adds itself to the agent's config and keeps your other settings and comments intact.

One click for: Claude Desktop, Claude Code, Cursor, VS Code (Copilot), Windsurf, Zed, Gemini CLI, LM Studio and Codex CLI. Claude Desktop users can also double click MrMail-x.y.z.mcpb from the latest release.

Manual setup (Claude Code, Zed, any MCP client)

Claude Code:

claude mcp add mr-mail --scope user -e ELECTRON_RUN_AS_NODE=1 -- "%LOCALAPPDATA%\Programs\mr-mail\MrMail.exe" "%LOCALAPPDATA%\Programs\mr-mail\resources\mr-mail-mcp.cjs"

Zed (settings.json):

json
"context_servers": {  "mr-mail": {    "source": "custom",    "command": "C:\\Users\\<you>\\AppData\\Local\\Programs\\mr-mail\\MrMail.exe",    "args": ["C:\\Users\\<you>\\AppData\\Local\\Programs\\mr-mail\\resources\\mr-mail-mcp.cjs"],    "env": { "ELECTRON_RUN_AS_NODE": "1" }  }}

Any stdio client: run MrMail.exe with ELECTRON_RUN_AS_NODE=1 and the path to resources\mr-mail-mcp.cjs as its only argument.

Clients that only take a URL: turn on Accept connections over HTTP in Settings and use http://127.0.0.1:7337/mcp with the bearer token shown there (MCP Streamable HTTP, localhost only).

Then just ask:

"Summarize what came in today and draft a reply to Karin saying Tuesday at 2 works."
"Save the attachment from Sam to Downloads, then reply to all with the edited image attached."
"Unsubscribe me from every newsletter I have not opened in three months."
"Find a free hour with Jonas next week and send him an invite."

Safe by design. Agents never send unless you explicitly asked; otherwise they save a draft that opens in the app for you to review. You choose per action whether sending, deleting and unsubscribing is allowed, asks you first (the default) or is never allowed, and an activity log shows every call an agent made. New tools show up in your agent automatically after an app update. Full tool list: docs/mcp.md.

Features

Ask Mr MailA chat panel (Ctrl+J) that searches, reads, drafts and books for you with the same tools and permissions as your agents. Works with ChatGPT, a local model or your own server.
CalendarGoogle Calendar, Outlook and iCloud or any CalDAV server. A calm agenda view, create and edit events, find free time, answer invitations with Yes, Maybe or No right in the email.
ContactsEveryone you email, with history, upcoming meetings and one click to write or invite.
Command paletteCtrl+K to jump anywhere, open recent emails, write to a contact or run any action. Ctrl+/ lists every shortcut.
Smart inboxTabs for Personal, Newsletters and Notifications. People you have written to always land in Personal.
Clean UpSee who sends you the most, unsubscribe in one click (RFC 8058), archive or delete everything from a sender, set rules for the future.
Undo everythingUndo send, undo archive and delete (Ctrl+Z), multi select with Ctrl and Shift.
Send later and Remind meSchedule emails, snooze messages, get reminded if nobody replies.
Notifications that do thingsArchive, mark as read or reply straight from the Windows notification.
Templates and signaturesRich text signatures per account, reusable templates, import signatures from Spark.
AI in the app (optional)Suggested replies, summaries and to dos with ChatGPT, Claude, a local model or your own OpenAI compatible server. AI in the app only ever writes drafts.
AccountsGmail, Outlook and Microsoft 365, iCloud and any IMAP server. Sign in with Google or Microsoft, or use an app password.
LanguagesEnglish and Swedish, following Windows or your choice.
Auto updateNew releases install with one click from inside the app.

[Clean Up] [Dark mode]

How it compares

Mr MailThunderbirdNew OutlookSpark
Free✓✓✓Freemium
Open source✓✓
Mail goes only between you and your provider✓✓
Built in MCP server for AI agents✓
One click setup for Claude, Cursor, VS Code and more✓
Smart inbox that puts people first✓✓✓

New Outlook syncs non Microsoft accounts through Microsoft's cloud, and Spark stores account access on its own servers to deliver push and team features.

Install

  1. Download MrMail-Setup-x.y.z.exe from the latest release, or use Scoop:
    scoop bucket add mr-mail https://github.com/GKihlstadius/mr-mailscoop install mr-mail/mr-mail
  2. Run it. The installer is not code signed yet, so Windows SmartScreen may say it protected your PC: click More info, then Run anyway.
  3. Add your account. Mr Mail finds the server settings for most providers automatically.

Mr Mail updates itself. The only thing it sends anywhere besides your own mail servers is a version check against the GitHub API, plus requests to the AI service you choose, if you turn AI on.

FAQ

Does my email pass through any server of yours?

No. There is no Mr Mail server. The app connects directly to your provider over IMAP and SMTP. Your cache lives in a SQLite file under %APPDATA%.

What does an AI agent see?

Only what it asks for through the MCP tools, while the app is running on your computer. The MCP server talks to the app over localhost with a random token. Nothing is uploaded unless your agent itself sends it to its model.

Can an agent send email without asking me?

No. By default Mr Mail asks you in a dialog before anything is sent, deleted or unsubscribed, whichever agent asked. You can change that per action under Settings, Control with AI tools, and see every call in the activity log there. Agents are also told to save drafts unless you explicitly ask them to send.

Gmail says my password is wrong.

Gmail and Outlook need either an app password or sign in with Google or Microsoft. Sign in needs your own free OAuth client id, see docs/oauth.md.

macOS or Linux?

Not yet. The code is plain Electron and should port well; pull requests are welcome.

Build from source

Requires Node 24 or newer, pnpm 10 and Windows.

pnpm installpnpm start        # build and runpnpm typecheck    # TypeScript and translation checkpnpm test         # unit tests (IMAP tests run when GreenMail is up)pnpm dist         # installer in release/

Integration and end to end tests run against GreenMail in Docker, never against real accounts:

docker run -d --name mr-mail-greenmail --cpus 1 -p 3025:3025 -p 3143:3143 -e GREENMAIL_OPTS="-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled" greenmail/standalone:2.1.5pnpm build && pnpm test:e2e

Stack: Electron, React, TypeScript, imapflow, nodemailer, mailparser, node:sqlite, DOMPurify. No UI framework, about 21 000 lines. See CONTRIBUTING.md to get started.

Roadmap

  • MCP server with drafts, attachments, scheduling and clean up
  • English and Swedish
  • Auto update from GitHub Releases
  • Calendar: Google, Outlook, iCloud and CalDAV, invitations in the reader
  • One click setup for AI clients, MCP over HTTP, Claude Desktop extension
  • Chat in the app, contacts, command palette
  • Code signed installer
  • winget (submitted)
  • More languages (translations are one file per language, see CONTRIBUTING.md)
  • macOS build

Have an idea? Open an issue.

Support the project

Mr Mail is free and MIT licensed. If it saves you time, you can buy me a coffee:

  • Crypto (BNB Smart Chain, Ethereum or any EVM chain): 0x9869799157186227bA3Cc980bAE3C64E022453a0

A star helps more people find it. Bug reports and pull requests help just as much.

[Star history]

På svenska

Mr Mail är en snabb och privat mejlklient för Windows, på svenska och engelska. Den pratar direkt med din mejlserver, sparar allt på datorn och låter AI-verktyg som Claude Code läsa, sortera och skriva utkast åt dig. Ladda ned den senaste versionen under Releases.

License

MIT. The mascot and icon are original artwork for this project.

來源:README.md,提交 c87f1f0

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v0.7.1最新Nov 15, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分