How iOS 18 Mail Sorts Transaction Receipts
Apple's Mail app in iOS 18 introduces an on-device categorization system that automatically organizes incoming messages into distinct buckets, including a dedicated "Transactions" tab. This article explains the underlying categorization rules, machine learning models, and metadata signals Mail uses to identify and isolate transactional receipts, order confirmations, and shipping details from general correspondence.
On-Device Language Modeling and Keyword Detection
Mail utilizes on-device machine learning to parse the body text and subject lines of incoming emails without sending user data to external servers. The classification engine scans for transactional semantic markers, identifying terms and phrases such as "Order Confirmation," "Invoice," "Receipt," "Payment Received," "Tracking Number," and specific financial indicators like sales tax breakdowns, order IDs, and payment method summaries (e.g., "Billed to card ending in...").
Sender Profiles and Domain Reputation
The sorting system analyzes the sender's address against established
commercial profiles. Emails originating from known payment gateways
(such as PayPal, Square, or Stripe), e-commerce retailers, and standard
automated addresses (e.g., no-reply@, orders@,
or billing@) carry a heavy algorithmic weight toward the
Transactions category. When these sender profiles align with commercial
domains, Mail routes the messages away from the Primary inbox.
Structured Metadata and Email Markup
Many modern retailers and platforms embed structured metadata—such as
Schema.org microdata or JSON-LD—directly into their HTML emails to power
quick actions and calendar integrations. The iOS 18 categorization
engine actively parses this structured data. If an incoming message
contains specific transactional schemas (like Order,
Invoice, ParcelDelivery, or
Reservation), Mail flags it immediately as a transaction,
bypassing the need for deeper text inference.
Merchant Grouping and Digest Views
Beyond standard filtering, Mail applies a grouping rule to related transactional updates from the same business. When receipts, shipping notifications, and delivery confirmations share identical tracking tokens, order numbers, or merchant identities, iOS 18 aggregates them into a consolidated thread. This allows users to review the entire lifecycle of a single purchase in one organized view.
Manual Corrections and Adaptive Behavior
The categorization system incorporates adaptive rules based on user corrections. If an email is misclassified into Updates, Promotions, or Primary, moving the email manually to the Transactions category trains the on-device model to adjust future sorting behavior. The system recalculates the weight assigned to that specific sender and message structure, ensuring subsequent receipts from that merchant are accurately routed.