How to Set Up Rules and Smart Mailboxes in Mail on Mac (2026)

Apple Mail can sort your inbox for you. Two features do the heavy lifting: Rules, which take an action the moment a message arrives (move it, flag it, mark it read, delete it), and Smart Mailboxes, which are saved searches that pull matching messages into one view without ever moving the originals. Set both up once and a noisy inbox starts running itself. Here is exactly how, on any Mac running a recent version of macOS.

Rules vs. Smart Mailboxes: which one you want

People mix these up constantly, so get the distinction straight first:

  • A Rule changes your mail. It fires when a message arrives (or when you run it manually) and physically does something — moves it to a folder, flags it, forwards it, deletes it. Use a Rule when you want the message out of the inbox or acted on automatically.
  • A Smart Mailbox only shows your mail. It is a live filter. The message stays wherever it actually lives; the Smart Mailbox is just a window that always displays everything matching your criteria (for example, “all unread from my boss” or “anything with an attachment this week”). Nothing is moved and nothing is at risk.

A common winning combo: a Rule files newsletters into a “Read Later” folder so they leave your inbox, and a Smart Mailbox shows you every unread flagged message across all accounts so nothing important slips.

How to set up a Rule in Apple Mail

Rules live in Mail’s settings, not the menu bar.

  1. Open Mail, then from the menu bar choose Mail > Settings (older macOS: Mail > Preferences).
  2. Click the Rules tab, then click Add Rule.
  3. Give the rule a clear Description (e.g. “File Amazon receipts”).
  4. Set your conditions — the “If [any/all] of the following conditions are met” row. Pick a field (From, Subject, To, etc.), a match type (Contains, Is equal to, Begins with), and the value. Click the + to add more conditions.
  5. Set your actions — “Perform the following actions.” Common ones: Move Message to a mailbox, Mark as Read, Set Color/flag, Delete Message, or Play Sound. Stack multiple actions if you like.
  6. Click OK. Mail asks if you want to apply the rule to existing messages in the current mailbox — click Apply to sweep the folder now, or Don’t Apply to only affect new mail.

Order matters. Rules run top to bottom and stop at the first matching rule that moves or deletes a message. Drag rules up and down in the list to control priority — put your most specific rules above broad catch-alls.

Rules that actually save time

  • Newsletters out of the inbox: Condition From contains “newsletter” or a specific sender → Move Message to a “Read Later” mailbox and Mark as Read.
  • Receipts filed automatically: Condition Subject contains “receipt” or “order” → Move Message to a “Receipts” mailbox.
  • VIP highlight: Condition From is your manager or biggest client → Set Color of message to red so it jumps out.

The one big limitation: Rules run on your Mac, so Mail has to be open for them to fire on incoming mail. If you want filtering that works even when your Mac is asleep, set the filter on the mail server side instead (iCloud, Gmail, and Outlook all have web-based rules) — or just leave Mail running.

How to set up a Smart Mailbox

Smart Mailboxes live in the sidebar and never touch your actual messages.

  1. From the menu bar choose Mailbox > New Smart Mailbox (or hover the Smart Mailboxes section in the sidebar and click the +).
  2. Name it something you’ll recognize (e.g. “Unread – Flagged” or “Attachments this week”).
  3. Choose whether messages must match any or all of your conditions.
  4. Build the conditions — the same fields as Rules, plus mail-state options like Message is Unread, Message is Flagged, Contains attachments, and Date Received / Within last N days.
  5. Optionally tick Include messages from Trash or Sent if you want those in the view.
  6. Click OK. The Smart Mailbox appears in the sidebar and updates itself continuously.

Smart Mailboxes worth building

  • Today’s action list: Message is Flagged AND Message is Unread — everything you’ve marked to deal with, across every account, in one place.
  • Waiting on attachments: Contains attachments AND received within last 7 days — stop scrolling to find that PDF someone sent.
  • One person, all accounts: From contains a name — see every message from a key contact whether it landed in your work or personal inbox.

You can even nest related Smart Mailboxes into a Smart Mailbox Folder (Mailbox > New Smart Mailbox Folder) to keep the sidebar tidy.

Rules + Smart Mailboxes together

The cleanest inbox uses both. Let Rules remove the predictable clutter — newsletters, receipts, notifications — into named folders automatically. Then let a couple of Smart Mailboxes surface what needs you: unread-and-flagged, or anything from your top three contacts. Your actual inbox shrinks to “new things I haven’t triaged,” and the two saved views do the rest.

Two more Mail time-savers worth setting up while you’re in Settings: schedule an email to send later and add a proper email signature.

FAQ

Do Rules work when my Mac is closed?

No. Apple Mail Rules run locally, so Mail must be open on your Mac to act on incoming messages. For filtering that runs 24/7, create the equivalent rule on your mail provider’s website (iCloud, Gmail, or Outlook) instead.

Will a Smart Mailbox move or delete my emails?

Never. A Smart Mailbox is a saved search — it only displays matching messages. The originals stay exactly where they are, so there’s no risk in experimenting with conditions.

Why isn’t my Rule firing?

Check three things: the rule is ticked/active in Mail > Settings > Rules; it sits above any broader rule that moves the same message first (rules stop at the first move/delete match); and Mail is actually open. To re-run a rule on old mail, select the messages and choose Message > Apply Rules.

Can I use the same conditions for both?

Yes — the condition builder is nearly identical. The difference is what happens: a Rule acts (moves/flags/deletes), a Smart Mailbox shows. If you find yourself wanting to both file and monitor the same mail, build one of each.

An older Mac can’t keep up?

If Mail feels sluggish while it re-indexes rules and smart mailboxes, the machine — not the feature — is usually the bottleneck. A certified refurbished Apple‑silicon Mac makes all of this instant. A MacBook Air (M1) starts at $450 and a Mac Mini (M2) at $599 at LuxuriousComputers — both far quicker than any Intel Mac at inbox work. Browse the Apple clearance lineup for the current best deals, every unit tested and warrantied.

Ready for a Mac that just works?

Every refurbished Mac from LuxuriousComputers comes with a 1-year warranty, 30-day returns, and saves you up to 55% vs retail.