Sortern
macOS app · iPhone companion
Your inbox, sorted by AI that never leaves your Mac.
Sortern reads the mail already in Apple Mail, works out where each message belongs with AI that runs on your Mac, and files it into folders you describe in plain English. Nothing moves until you say so — and every move can be put back.
macOS 27 on Apple Silicon · Apple Mail · iPhone companion on iOS 27 (optional)



Measured
0
emails sent to a cloud AI
Measured
80 / 86
right on the benchmark, built-in engine
Measured
≈ 0.2 s
per email on an M4 Pro
01How it works
Three steps, all on your Mac.
- 1
Reads, never writes
Sortern reads Apple Mail's local store strictly read-only. It never edits Mail's files or its database.
- 2
Decides on your Mac
Each new email goes through three tiers, cheapest first, until one is sure enough. Anything doubtful waits for you.
- 3
Mail does the moving
To file a message, Sortern asks Apple Mail to move it — so the change syncs to Gmail, iCloud or any IMAP server exactly as if you had dragged it.
One email, start to finish
Sender rules
instantRules you set for a sender — "anything from billing@… goes to Finance". Deterministic, and always right about who sent it.
not sure enough? next tier ↓
On-device similarity
millisecondsCompares the email with mail you have already approved, using Apple's on-device language embeddings. A match made only this way always waits for your review.
not sure enough? next tier ↓
Local AI model
≈ 0.2 sA language model on your Mac reads the email against your folder descriptions: the built-in MLX engine, Apple Intelligence, or Ollama.
Confident
Approval queue
Waits for your OK — or is filed straight away, if you turned auto-filing on and it clears your threshold.
Doubtful or a possible scam
Check First
Pulled to the top of the queue with the reason shown. A possible scam is never filed automatically.
02See it work
A short tour of the Mac app.
03On your iPhone
Approve from anywhere.
04What it does
Nothing moves until you say so.
Review
A queue that puts the risky mail first
Confidence numbers from different methods aren't comparable, so Sortern doesn't sort by them. It scores how doubtful each suggestion is and why, and groups the queue so a quick pass catches what matters. A banner counts the possible scams and uncertain suggestions before you start.
- Nothing flagged as a possible scam is ever filed automatically
- Each suggestion says why — the model's reasoning, and what it would have picked
- ⌘Y approves, ⌘⌫ denies; Arrange › Select picks many at once
- Check First
Every possible scam, plus anything doubtful enough to deserve a real look: the model unsure, a weak similarity match, two scorers disagreeing, a folder you often correct.
- Worth a Glance
Probably right, with one reason to look — most often a sender it hasn't seen before.
- Quick Approve
Nothing flagged, from a sender rule or a sender you have already filed to that folder at least twice. Approve the group in one pass.


Folders
Folders in plain English
Start from a recommended set or write your own. Each folder is a Mail folder plus a description in your words, and the order is the tie-breaker: when an email fits two folders, the higher one wins.
- Spam & Junk is pinned to the top and can't be deleted or demoted
- Sender rules for the mail you always file the same way
- Export and import your folders and rules as a file


Safety
Every move can be put back
Each move is listed with where the email came from, where it went, which engine decided and how sure it was. Put Back returns it — one email or a selection — while it is still in the folder it was moved to.
- Approval is on by default; auto-filing is opt-in, with a threshold you choose
- Sorts the Inbox by default, and never moves mail out of Trash, Junk, Sent or All Mail


Insight
See what it is doing, and why
Insights shows how much mail each tier handles, the folders the model is least sure about, and what to change: a sender rule is the biggest lever on speed, and a sharper folder description lifts a weak folder.
- Handled without a model: the share settled by rules and on-device matching
- Folders the model is least sure about, with their average confidence


Activity
Know it's working at a glance
Activity answers one question in plain words: is Sortern working, and do you need to do anything? A status line says what's happening and offers the fix, four cards show what's waiting and how your Mac is doing, and a timeline lists what happened — newest first, with repeats grouped together.
- Problems link to built-in help with the steps to fix them
- Every technical detail is kept in a log that never leaves your Mac — with email subjects hidden unless you switch them on
- Advanced mode adds the live technical view for power users


05Privacy
Your mail stays yours.
Stays on your Mac
Email bodies, excerpts and summaries, the history of every decision, and the examples Sortern learns from. Every email is classified on the Mac.
Syncs, only with the iPhone app
Only if you use the iPhone companion, through your private iCloud database: for mail waiting for approval, its subject, sender, mailbox, suggested folder, confidence and a short reason (trimmed, with links, addresses and long numbers removed); your folders and rules; a status line; and, only if you switch on live sorting on both devices, folder icons and counts (never subjects or senders). Items leave iCloud as soon as you approve or deny them.
How it is protected
The personal fields are stored in CloudKit encrypted fields, encrypted on your devices with keys from your iCloud Keychain. With Advanced Data Protection on, only your devices hold those keys.
- No account, no server of mine, no analytics inside the app
- No cloud AI — including Apple's Private Cloud Compute
- Never writes inside Mail's folder or opens its database
06iPhone companion · invite only
Approve from your phone.
iPhone companion
Approve or deny suggestions and edit folders from your phone. The phone never runs the AI and never moves mail itself.
The companion is in a small TestFlight beta. It needs Sortern for Mac and the same Apple ID on both devices. Send the email address your Apple ID uses and I'll add you to TestFlight; Apple then emails you the invitation. See how it works.
Screenshots use the app's built-in sample data: a “Sample MacBook Pro” and made-up mail.
Request TestFlight access


Overview — is the Mac working, and do I need to do anything?


Review — possible scams come first; each row shows the folder and how sure the Mac is


A suggestion — how it was classified, where it will go, Deny or Approve


Folders — drag to reorder, tap to edit
07Built to be trusted
Safe by default, not by setting.
Read-only by design
Sortern never writes under ~/Library/Mail or opens Mail's index database. Every change goes through Apple Mail itself.
New mail first
Mail that arrives while it is sorting your history jumps the queue. The historical scan waits when the Mac is hot or in Low Power Mode.
Never loses track
It catches up on mail that arrived while it was closed, never processes a message twice, and backs up its own history before changing it.
Light on your Mac
Two classification lanes on 8 GB Macs, four above. The built-in engine runs in its own helper process and frees its memory after 10 minutes without mail.
The Mac decides
The phone only asks. Every request from the companion is checked by the Mac before anything moves, and the Spam folder rules are enforced on both.
Honest about AI
The app says, in plain words, that AI can misfile mail — and shows what will happen automatically and what will wait.
08Measured, not claimed
Which AI sorts mail best on a Mac?
Correct folder, out of 86
higher is better
- Gemma 4 E4B · built in, fast scoring80
- Gemma 4 E4B · Python server, fast scoring78
- Ternary-Bonsai-2 9B · built in, fast scoring78
- Ternary-Bonsai-2 9B · full JSON †78
- Gemma 4 E4B · Python server, full JSON77
- Ternary-Bonsai-2 4B · fast scoring † · not in the app yet76
- Apple Intelligence · with scam check75
- Qwen3 4B · fast scoring74
- Qwen3 8B · full JSON73
| Engine | Right | Scams missed | Real mail → Spam | Per email | Memory |
|---|---|---|---|---|---|
| Gemma 4 E4B · built in, fast scoringrecommended | 80 | 1 / 9 | 1 | 208 ms | 6.3 GB |
| Gemma 4 E4B · Python server, fast scoring | 78 | 1 / 9 | 1 | 273 ms | 1.4 GB* |
| Ternary-Bonsai-2 9B · built in, fast scoring | 78 | 1 / 9 | 1 | 300 ms | 3.9 GB |
| Ternary-Bonsai-2 9B · full JSON † | 78 | 0 / 9 | 2 | 4,926 ms | 3.9 GB |
| Gemma 4 E4B · Python server, full JSON | 77 | 0 / 9 | 1 | 1,324 ms | 1.4 GB* |
| Ternary-Bonsai-2 4B · fast scoring †not in the app yet | 76 | 1 / 9 | 3 | 2,190 ms | 2.3 GB |
| Apple Intelligence · with scam check | 75 | 2 / 9 | 3 | 2,417 ms | system |
| Qwen3 4B · fast scoring | 74 | 2 / 9 | 0 | 248 ms | 2.7 GB |
| Qwen3 8B · full JSON | 73 | 1 / 9 | 4 | 1,362 ms | 5.1 GB |
Memory risk. Memory matters more than file size. Gemma 4 E4B holds about 7 GB while loaded, which is 44% of a 16 GB Mac: with Mail, a browser and other big apps open the Mac can start swapping, and then everything slows down, not just Sortern. Qwen3 4B holds about 2.7 GB. Sortern gives the memory back when you quit it, or from the menu bar (Release the AI Model), and the model catalog warns you before you pick one that is tight on your Mac.
* From the earlier Python-server run, which measured the server process alone; the built-in figure (6.3 GB) is the engine’s helper process with the model loaded, measured while sorting. † Run on 15 October 2026 through the same suite in-process with mlx-vlm 0.7.8 and no prompt cache, so its time per email is not comparable with the other rows (in that setup Gemma 4 E4B took 1.2 s on the fast path and Bonsai 9B 3.9 s). Bonsai 9B’s built-in row was run the same way as Gemma’s built-in row, and its predictions matched the Python run on all 86 emails. Memory is what the model process holds while loaded, as Activity Monitor counts it.
The same 86 synthetic test emails, filed into a real folder set · MacBook Pro, M4 Pro, 24 GB · September and October 2026. Synthetic mail only; no real email is used for testing. Models that were clearly unsafe (anything under 2B parameters, including a 2B Bonsai) are left out: they missed most scams or sent 9 to 22 real emails to Spam.
Where to get each model (Hugging Face and Ollama links)
Used by the app
These are the engines in the benchmark above. Sortern recommends one built-in model for your Mac's memory; Apple Intelligence needs no download. Memory is what the model holds while loaded, measured with Activity Monitor’s footprint on 15 October 2026.
| Model | Result | Where to get it |
|---|---|---|
| Gemma 4 E4BBuilt-in MLX (6.4 GB download) — recommended from 24 GB | 80 of 86 right, 0 to 1 of 9 scams missed, about 0.2 s per emailAbout 7 GB while loadedThat is 44% of a 16 GB Mac. With Mail, a browser and other big apps open the Mac may start swapping, which slows everything. Close heavy apps, release the model when you aren’t sorting, or choose Qwen3 4B. | |
| Qwen3 4BBuilt-in MLX (2.3 GB download, 8 GB Macs and up) or Ollama | 74 of 86 right, 2 of 9 scams missed, no real mail sent to SpamAbout 2.7 GB while loadedThe choice for 8 GB Macs. Less accurate than Gemma 4 and lets a few more scams through. | |
| Ternary-Bonsai-2 9B (PrismML)Built-in MLX (3.5 GB download) — recommended on 16 GB | 78 of 86 right, 0 to 1 of 9 scams missed, 1 to 2 real emails sent to Spam, about 0.3 s per email. About 2 emails behind Gemma 4 E4B.About 3.9 GB while loaded — roughly half of Gemma 4 E4BTernary weights derived from Qwen3.5. The first scoring of a new set of folders takes a few seconds longer than with Gemma 4. Created using Bonsai by Prism ML (Apache 2.0). | |
| Qwen3 8BBuilt-in MLX (4.6 GB download, 18 GB Macs and up) or Ollama | 73 of 86 right, 1 of 9 scams missed, 4 real emails sent to SpamAbout 5.1 GB while loadedLess accurate than Gemma 4 and no better than Qwen3 4B on safety; the 4B is the smaller, safer pick. | |
| Apple IntelligenceBuilt into macOS (nothing to download) | 75 of 86 right with Sortern’s scam check, 2 of 9 scams missed, 3 real emails sent to Spam, about 2.4 s per emailNone held by Sortern (it is a system model)Needs no download, but it is the least accurate of the strong options and missed a gift-card scam and a fake parcel fee. Without Sortern’s added scam check it missed 7 of 9 scams. Suggestions that look like scams or security alerts always wait for your review. |
Tested, not available in the app yet
These ran well enough to deserve a place, but Sortern does not offer them. They are not available for download in the app.
| Model | Result | Where to get it |
|---|---|---|
| Ternary-Bonsai-2 4B (PrismML)Ternary weights, derived from Qwen3.5 (2 GB on disk) | 76 of 86 right on the fast path, 1 of 9 scams missed, 3 real emails sent to SpamAbout 2.3 GB while loadedUsable on safety, but no faster than Gemma 4 and less accurate. Not offered in the app: the 9B is the better pick. |
Want a model that isn't listed? The guide shows how to download one from Hugging Face.
- A small open model, run inside the app with the folder list processed once, beat both an 8B model and Apple Intelligence — at about a tenth of Apple Intelligence’s time per email.
- Apple Intelligence needs no download and holds no memory in Sortern, but it was the least accurate of the strong options. Sortern adds its own scam check because it missed 7 of 9 scams without one.
- PrismML’s Ternary-Bonsai-2 9B came within 2 emails of the best and holds about half the memory (3.9 GB against 7 GB), so it is in the catalog as the choice when memory is tight.
09What's next
Smaller, faster, still on your Mac.
- In progress
A smaller model built for this job
A compact built-in model for sorting mail. It ships only if it matches the best current engine on the benchmark and never misses more scams.
- Prototyped
Similarity on the Neural Engine
A small encoder converted to Apple's on-device runtime answers in 1–11 ms, to replace the current similarity tier and let the AI model sleep more often.
- Released
A signed, notarized download
Sortern needs Full Disk Access to read Mail, which the Mac App Store's sandbox forbids — so it ships as a Developer ID app in a disk image, notarized by Apple and checked by Gatekeeper before release. It is out now, with updates on this page.
10FAQ
Fair questions.
Does any of my email leave my Mac?
No email body ever does. Classification happens on the Mac. If you add the iPhone companion, the few details it needs to show a pending item sync through your own private iCloud database, with the personal fields encrypted on your devices.
Which email accounts does it work with?
Any account in Apple Mail — iCloud, Gmail, Yahoo, Outlook and Exchange, or any IMAP server. Sortern files through Mail, so your folders stay in sync on every device.
Which AI model should I download?
Sortern recommends one for your Mac during setup. From 24 GB of memory: Gemma 4 E4B (a 6.4 GB download), the most accurate in testing. With 16 GB: Ternary-Bonsai-2 9B (3.5 GB), nearly as accurate in about half the memory. With 8 GB: Qwen3 4B (2.3 GB). The user guide walks through it with screenshots.
Do I need Apple Intelligence?
No. Sortern can use Apple Intelligence where it's available, with nothing to download, but a built-in model sorted more accurately in testing and is the recommended choice. Ollama works too, in Advanced mode.
What happens when it gets one wrong?
By default nothing moves until you approve it. If you turn on auto-filing, every move is still listed in History and can be put back.
Will it slow my Mac down?
It runs in the background with a small, capped number of lanes, gives new mail priority, holds the historical scan while the Mac is hot or in Low Power Mode, and frees the model's memory when there's no mail.
Why isn't it on the Mac App Store?
Reading Apple Mail's store needs Full Disk Access, which sandboxed App Store apps can't have. It ships as a download notarized by Apple instead, so macOS opens it normally.
When can I use it?
Now: it is a public beta you can download from this page. I use it daily on my own mail, and it is still changing, so expect rough edges. The user guide walks through setup.
Download
Sortern 1.3.2 for Mac
A disk image signed with my Developer ID and notarized by Apple, so macOS opens it normally. New to this? The guide walks through every step.
On your iPhone? Sortern runs on a Mac.
SHA-256 41a7555875849a8072266864e53faf47ae6f41b4bfa0d1902f8fcb6f3d65af3b
Release notes