erict16/ragdoll-mail
حول
🐱 Open-source mail app & CLI your AI agents can safely use — search, read, draft, you send. Any IMAP mailbox, Mac & Windows.
الإنتاجية والأتمتةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- جارٍ جمع السجل
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل![]()
Ragdoll Mail
A free mail app for Mac and Windows that your AI agent can use too.
Download for Mac · Download for Windows · Command line only · Website · 简体中文

What we bring
A mailbox your AI can useClaude Code, Codex or any agent that runs commands can search your mail and write replies with theragdoll command. Nothing goes out until you say yes.
|
Found before you finish typingEvery mail is indexed on your own computer. Names, order numbers, a few words you remember: results show as you type, even offline. |
Just a good mail appRead, write, search and sort, like Apple Mail or Outlook. Light, quick, with a key for everything. |
Your mail stays homeThe app talks only to your own mail server. We have no server, and nothing is ever sent to us. |
Free, for realOpen source under MIT. No ads, no subscription, no account with us. |
Fits the mailbox you haveAny IMAP mailbox: Gmail, iCloud, Fastmail, Tencent Exmail, QQ Mail, 163 and more. |
Get it
| You want | Get this |
|---|---|
| The app on a Mac (M1 or newer) | ragdoll-mail-mac.dmg, or brew install --cask erict16/tap/ragdoll-mail |
| The app on Windows 10 or 11 | ragdoll-mail-windows-x64-setup.exe (no admin needed) |
| Only the command, on Mac, Linux or Windows | One line, see Command line only |
The app already includes the command: in the app, open Settings → Command line → Install.
First start
- Open the app. It is not signed by Apple or Microsoft yet, so the system asks once.
- Mac: open System Settings → Privacy & Security, scroll down, press Open Anyway.
- Windows: press More info, then Run anyway.
- Sign in with your email address and password. The app finds the server settings by itself for the big providers and for company mail on Tencent Exmail, Google Workspace, Alibaba Mail and NetEase.
- Wait a moment. The first time, the app reads your mailbox. A big one takes a few minutes. You can use the app meanwhile.
Which password? Many mailboxes want a separate password for mail apps. Gmail, iCloud and Fastmail call it an app password. Tencent Exmail calls it the client password. QQ Mail and 163 call it the authorization code. You make it on your mailbox's website, in its settings.
What it does
Read. A whole conversation on one page, newest on top, old quotes folded away. Big pictures, all attachments at once, meeting invitations with an Add to Calendar button, one-click Unsubscribe.
Find. Press ⌘K or Ctrl+K and type a name, an order number or a few words. Narrow it with from:jane, in:sent, is:unread, has:attachment, since:2026-11-01, or leave words out with -newsletter. Chinese, Japanese and Korean work too.
Write. Fonts, lists and links; your signature is added by itself; replies keep the earlier mails and their pictures. Before a mail goes out, the app stops you if you wrote "attached" but attached nothing, the subject is empty, or [Name] is still in the text. After Send you have up to 30 seconds to take it back. Or send it later, at a time you pick.
Sort. All your folders, plus your own. Drag mail into them. Star, archive, move or delete many at once.
Make it yours. Light or dark. English, Chinese (simplified and traditional), Japanese, Korean, Spanish, French and German. A key for everything: press ? to see them.
![]() |
![]() |
![]() |
![]() |
For AI agents
The ragdoll command does what the app does, from a terminal. An agent uses it like this:
you › Reply to Jane and attach the signed quote.
agent $ ragdoll search Jane quote --json
agent $ ragdoll thread inbox:312 --full --json
agent $ ragdoll draft --reply inbox:312 --body reply.html --attach Quote.pdf
agent › The draft is in your Drafts folder. Shall I send it?
you › Yes.
agent $ ragdoll send drafts:14 --yes
Every mail waits in your Drafts folder first and is checked. send refuses to run without --yes, and the same draft is never sent twice. You can also open the draft in the app and press Send yourself.
All commands are in the command-line guide.
Command line only (no app)
You can use ragdoll without the app, also on Linux and on servers. You need Python 3.10 or newer.
Mac or Linux:
curl -fsSL https://erict16.github.io/ragdoll-mail/install.sh | sh
Windows (PowerShell):
irm https://erict16.github.io/ragdoll-mail/install.ps1 | iex
Then sign in once:
ragdoll setup
ragdoll sync
setup asks for your address and password, finds the servers, tests them and saves everything. The password goes into the Mac Keychain, Windows Credential Manager or the Linux keyring. To update later, run the same install line again.
Other ways: pipx install ragdoll-mail, or brew install erict16/tap/ragdoll on a Mac.
How it compares
| Ragdoll Mail | Apple Mail | Outlook (new) | Thunderbird | Foxmail | Spark | |
|---|---|---|---|---|---|---|
| Price | free | free | free with ads, or paid | free | free | free plan; Plus and Pro are paid |
| Mac and Windows | both | Mac only | both | both | both | both |
| Mail goes straight between you and your mail server | ✅ | ✅ | a copy is kept in Microsoft's cloud | ✅ | ✅ | goes through Spark's servers |
| Open code that anyone can check | ✅ | no | no | ✅ | no | no |
| Your own AI agent can use the mailbox | ✅ | no | no | no | no | yes, sending needs Pro |
| Phone app | no | ✅ | ✅ | Android | no | ✅ |
| Several mailboxes in one window | not yet | ✅ | ✅ | ✅ | ✅ | ✅ |
Ragdoll Mail is good at search, privacy, checks before sending, and Chinese mail. It has no phone app and no calendar, and shows one mailbox at a time. You can use it next to another app: it changes nothing in your mailbox.
Compared from each product's public pages, November 2026. Something wrong? Tell us.
Questions
Is my mail safe? It is on your computer and on your own mail server, nowhere else. The app sends nothing to us.
Where is my password kept? In your system's password store: Keychain on a Mac, Credential Manager on Windows, the keyring on Linux. Never in a file.
Does it work offline? Reading and searching the mail you have: yes. Getting and sending new mail needs the internet.
Will it change my mailbox? No. It shows the same folders and mail as your mailbox's website. What you do in the app also shows on your phone.
Does search work on Tencent Exmail? Yes. Exmail's own search sends back the whole folder for any word. On a real mailbox with 6,442 mails it returned 4,988 every time. Ragdoll Mail searches its own index instead and returns only the right mails, in under a tenth of a second. See the Exmail setup guide.
Can I try it without my mailbox?
Yes. In a copy of this repository, run python ragdoll.py app --demo for a made-up mailbox. Nothing is sent.
Help
Something broken, or your mailbox does not work? Open an issue. Want to help with code or a translation? Read CONTRIBUTING.md.
License
MIT. Icons from Lucide (ISC); file-type icons from Material Design Icons (Apache-2.0).
Star history
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…



