Blog / 04
Email Classification With AI: 500 Emails for 3.5 Cents
Email classification with AI, priced from real builds: 500 emails for 3.5 cents, fraud detection at 96/100 for $0.07. How AI email triage works with Jev.
Email classification is the oldest problem in applied machine learning and the newest bargain in AI. For twenty years the options were: train a custom classifier (accurate, rigid, an engineering project) or, lately, pipe everything through a big LLM (flexible, but slow and expensive enough that nobody judged every email). In 2026 a third option showed up: decision models fast and cheap enough to read your whole inbox for pocket change.
The receipts, from builds cataloged on this site (numbers as reported by their authors):
- 500 emails classified for 3.5 cents, in seconds (build)
- ~1,500 personal emails triaged in one run by a builder testing it on his own inbox (build)
- Fraud detection: 100 emails judged in 1.42 seconds, uncertain cases escalated to a bigger model, 96/100 correct for ~$0.07 total (build)
That last one is the architecture this whole page builds to, so hold onto it.
Why LLM email classification beats the old ways
The custom-classifier route demands labeled training data, retraining for every new category, and an ML engineer who stays. The old LLM route works out of the box but at frontier pricing, classifying 50,000 emails a day was a line item someone eventually questioned.
A decision model like Jev splits the difference and keeps both halves: define categories in plain language (no training data), change them tomorrow (no retraining), and run at costs where "classify everything, always" is just... the default setting. Flexibility of an LLM, unit economics closer to a regex.
What AI email triage looks like in practice
Classification is one label. Triage is the useful version: several judgments per message, each a small structured question a decision model answers instantly.
- Category: support / sales / billing / spam / internal
- Urgency: now / today / whenever
- Sentiment: is this customer about to churn or about to renew?
- Routing: which team, which queue, which human
- Red flags: legal threat? security report? press?
Five questions per email, at the reported per-verdict costs above, prices a 10,000-email day in coffee money. The triage and routing category collects live examples, including the adjacent flavors: lead-quality tiers, churn-risk scoring, and support ticket triage, which is the same pattern pointed at a helpdesk.
The architecture that actually holds up: cheap first, smart second
The fraud build is the blueprint. Jev judges every email; verdicts with high confidence stand; the ambiguous 5 to 15 percent escalate to a frontier model (that builder used Kimi K3) or a human. Result: near-frontier accuracy at roughly a hundredth of frontier cost, because the expensive brain only ever sees the hard cases.
This is the honest answer to "is a small model accurate enough?" Alone, on genuinely tricky emails: sometimes not. As the first tier of a cascade: the reported 96/100 speaks, and the misses were the exact emails the escalation tier exists for. Design for the cascade and the accuracy question mostly dissolves.
One more honesty note: your categories matter more than the model. "Is this urgent?" is a bad question; "does this email require action within 4 hours to prevent customer harm?" is a good one. The Jev Engineering guide is entirely about this craft, and it transfers to any judge model.
Beyond the inbox
The same per-message judging pattern runs anywhere text arrives in volume: Slack channels (what needs leadership eyes), form submissions (demo request vs spam), reviews (authenticity screening), and inbound anything. Email is just the demo everyone already understands.
Neighbouring problems
This page is inbox triage. Spam, the one classification problem that fights back, has its own page. The customer emails that read like goodbyes are covered in churn prediction.
Frequently asked questions
How much does AI email classification cost in 2026?
Builder-reported numbers around Jev put simple classification at roughly 3.5 cents per 500 emails, and full multi-question triage with escalation at about $0.07 per hundred. Frontier-model-only pipelines run orders of magnitude higher. Running list: what builds cost.
Is a small decision model accurate enough for email triage?
As a sole judge on hard cases, not always; as the first tier with uncertain cases escalated to a bigger model or human, the reported fraud pipeline hit 96/100. The cascade is the design, not a workaround.
Do I need training data for LLM email classification?
No. Categories are defined in plain language and changed at will, which is the core advantage over classic ML classifiers. What you do need is well-designed questions; vague criteria produce vague verdicts.
Can this run on my actual inbox, live?
Builders in the directory have run personal-inbox triage and real-time filtering; at reported latencies (100 emails in ~1.4 seconds) live processing is comfortably feasible. Access and integration details are TypeSafe's territory: docs.typesafe.ai, plus our getting-started guide.
What's the difference between email classification and email triage?
Classification assigns one label; triage runs several judgments per message (category, urgency, routing, risk) and acts on the combination. Decision models made the multi-question version cost about the same as the single-label version, which is why triage is eating classification.
Numbers throughout are as reported by the build authors, not verified by shipwithjev. Code-shaped examples are pseudocode; the official docs live at docs.typesafe.ai.