Skip to content
Yash
Sortern app icon

Sortern

macOS app · iPhone companion

Beta

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)

Sortern's Overview: a sentence saying nine suggestions are waiting for review, with a Review them button; four tiles for suggestions waiting, mail filed today, total sorted and older mail; a seven-day chart, the busiest folders and the latest activity in plain words.
The Overview tab: a Sample capsule top left and a menu button top right, a card for the Mac showing Live, a sentence saying seven suggestions are waiting with a Review them button, and tiles for suggestions waiting, mail filed today and the AI engine.
  • 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

How the benchmark figures were measured

01How it works

Three steps, all on your Mac.

  1. 1

    Reads, never writes

    Sortern reads Apple Mail's local store strictly read-only. It never edits Mail's files or its database.

  2. 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. 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

New email arrives in Apple Mail
  1. Sender rules

    instant

    Rules you set for a sender — "anything from billing@… goes to Finance". Deterministic, and always right about who sent it.

    not sure enough? next tier ↓

  2. On-device similarity

    milliseconds

    Compares 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 ↓

  3. Local AI model

    ≈ 0.2 s

    A 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.

Check First

Pulled to the top of the queue with the reason shown. A possible scam is never filed automatically.

You approve → Apple Mail moves itsyncs to Gmail, iCloud or IMAP · listed in History

02See it work

A short tour of the Mac app.

Recorded from the real app on synthetic mail. Play, pause, or jump to any part.
0:00 / 0:00Autoplay is off because you prefer reduced motion.

03On your iPhone

Approve from anywhere.

The companion shows the same queue. These clips use its built-in sample data.
0:00 / 0:00Autoplay is off because you prefer reduced motion.

04What it does

Nothing moves until you say so.

Real screenshots of the Mac app in its preview mode, with synthetic mail.

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.

Sortern's Review screen: a banner reports 2 possible scams and 4 uncertain suggestions, the list is grouped into Check First, Worth a Glance and Quick Approve with each email's suggested folder and confidence, and the selected email shows its summary and why it was flagged as a possible scam, with Deny and Approve & Move buttons.
Review — possible scams and uncertain suggestions come first

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
Sortern's Folders screen: ten folders in priority order, each with a plain-English description and an on/off switch, with Spam & Junk pinned at the top; the selected folder's instructions, a box to test a sample email, and its sender rules.
Folders — described in plain English, in priority order, with sender rules

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
Sortern's History: a search box, filters for date, folder, who sorted it and status, a count of moves and put-backs, and a table of every move with its time, subject, source and destination, how it was sorted, confidence and a Put Back action.
History — search and filter every move, and put any of them back

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
Sortern's Insights: the share of mail handled without a model, the failure rate and mail awaiting review; mail sorted per day as stacked columns coloured by sender rule, on-device match or AI model; a ring chart of how everything ended up; a histogram of how sure the AI was; a dot plot of the folders to sharpen; and a heat map of when mail arrives.
Insights — how each email was sorted, how sure the AI was, and which folders need clearer rules

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
Sortern's Activity screen: a status line saying sorting is paused with a Resume button, cards for mail filed today, suggestions waiting, the AI engine and how much memory the Mac is using, above a plain-language timeline with the newest event first — such as emails sorted into folders and the scan of older mail finishing.
Activity — is it working, and do I need to do anything? Newest first

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.

The phone only asks. The Mac checks every request before anything moves.

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

Used only to invite you to the beta, and deleted within 12 months. Privacy

iPhone setup guide
  • The Overview tab: a Sample capsule top left and a menu button top right, a card for the Mac showing Live, a sentence saying seven suggestions are waiting with a Review them button, and tiles for suggestions waiting, mail filed today and the AI engine.

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

  • The Review tab: seven suggestions waiting, with a possible scam first, marked with a red warning and the words Possible scam. Each row shows the subject, sender, the suggested folder as a tag and how sure the Mac is, such as 94% sure.

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

  • A suggestion's detail: classified by a sender rule at 94% confidence, a Why this folder row, a list of folders to move it to with Finance & Bills chosen, and Deny and Approve buttons.

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

  • The Folders tab: a list of folders with a description under each, such as Spam & Junk, Security & Verification and Finance & Bills, with Edit and add buttons and a note that top folders win.

    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?

Every engine I tested for Sortern, on the same 86 emails, with the same folders. The columns that matter most are scams that got through and real mail sent to Spam.

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
Sortern engine benchmark: correct folder, scams missed, legitimate mail sent to spam, median time per email and memory, for each engine
EngineRightScams missedReal mail → SpamPer emailMemory
Gemma 4 E4B · built in, fast scoringrecommended801 / 91208 ms6.3 GB
Gemma 4 E4B · Python server, fast scoring781 / 91273 ms1.4 GB*
Ternary-Bonsai-2 9B · built in, fast scoring781 / 91300 ms3.9 GB
Ternary-Bonsai-2 9B · full JSON †780 / 924,926 ms3.9 GB
Gemma 4 E4B · Python server, full JSON770 / 911,324 ms1.4 GB*
Ternary-Bonsai-2 4B · fast scoring †not in the app yet761 / 932,190 ms2.3 GB
Apple Intelligence · with scam check752 / 932,417 mssystem
Qwen3 4B · fast scoring742 / 90248 ms2.7 GB
Qwen3 8B · full JSON731 / 941,362 ms5.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.

Used by the app: models, results and links
ModelResultWhere to get it
Gemma 4 E4BBuilt-in MLX (6.4 GB download) — recommended from 24 GB80 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 Ollama74 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 GB78 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 Ollama73 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.

Tested, not available in the app yet: models, results and links
ModelResultWhere 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.

  1. 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.

  2. 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.

  3. 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.

Download Sortern 1.3.2 · 10 MB

On your iPhone? Sortern runs on a Mac.

SHA-256 41a7555875849a8072266864e53faf47ae6f41b4bfa0d1902f8fcb6f3d65af3b

Release notes