# How to create rules in Mac Mail to filter email: step by step on macOS 27

> Create rules in Mac Mail to sort incoming email on its own. Menu paths, rule order, Smart Mailboxes, iCloud sync, and what to do when rules do not run.

URL: https://www.lazur.app/for/developers/problems/mac-mail-rules-filter-email-folders
Updated: 2026-11-06

To create a rule in Mac Mail, open Mail > Settings > Rules, click Add Rule, then choose what the rule checks and what Mail does with the message. Rules run in list order, so their position matters. This guide covers each step, Smart Mailboxes, Gmail filters, iCloud sync, and the fixes for rules that seem to do nothing.

## Quick answer

- Open Mail > Settings > Rules, then click Add Rule to create a rule.
- Mail applies rules from top to bottom, so put narrow rules higher.
- Turn off a rule with its checkbox to pause it without losing it.
- Smart Mailboxes show matching mail but do not move it.
- Gmail filters are a separate list. Check both when mail goes missing.

## What filtering email automatically in mac mail costs you

- **Hours of sorting by hand.** The heaviest 25% of email users spent 8.8 hours a week on email in Microsoft's 2023 survey. That is 457.6 hours a year over 52 weeks. Some of that time goes to reading and replying, so sorting is only one slice of it.
- **A rough dollar figure.** At the BLS May 2024 median of $23.80 an hour, 457.6 hours is about $10,900 a year. At the mean of $32.66 an hour, it is about $14,900. These are all-occupation wages, so they likely understate knowledge-work pay.
- **Attention lost to scanning.** Each time you scan a crowded inbox, you decide what matters before you read it. Asana says 60% of work time goes to work about work. Sorting is part of that, and rules remove some of it. The survey year is not stated.
- **Important mail hidden by a bad rule.** A rule that moves a client's message to a folder you rarely open can cost you a reply that never happens. Check that folder for a few days after each new rule, especially for senders who matter to your work.

## Why it happens

1. **The rule is turned off.** Each rule has a checkbox in the Rules list. A deselected rule stays in the list but does not run. This is the most common reason a rule seems dead. Open Mail > Settings > Rules and check the box first.
2. **A rule above it acts first.** Mail applies rules in list order, from top to bottom. If a broad rule sits higher, it can act on messages that a narrower rule was meant to catch. Read the list from the top and ask which rule runs first.
3. **The condition checks the wrong field.** A rule can only match what you tell it to match. If you pick the wrong field, or the sender address differs from the name you see, the rule never matches. Test with one real message from that sender and compare.
4. **A Smart Mailbox is mistaken for a rule.** A Smart Mailbox shows matching mail in one view. It does not move messages. People often build one, see the mail listed, and assume a rule filed it. Apple says deleting it does not delete the emails it listed.
5. **Gmail filters act in a second place.** If the account is Gmail, filters in Gmail's settings can also label, archive, or forward mail. A message may look sorted in Gmail but not in Mail, or the reverse. Check both lists, and test each filter with a real message.
6. **Rules did not sync to this Mac.** Rules sync through iCloud Drive only when iCloud Drive is on with Mail selected. Scripts and sound files attached to a rule do not come across. A rule that depends on an attachment may fail on a second Mac while it works on the first.

## How to fix it

- **Create the rule in Mail > Settings > Rules.** Open Mail, press ⌘, , click Rules, then click Add Rule. Set one condition and one action. Keep the first rule simple, such as one sender moved to one mailbox, so you can see exactly what it does.
- **Put narrow rules above broad ones.** Mail checks rules from top to bottom. Put the rule for one specific sender above a rule for a whole group. Then send yourself a test message that should match each rule and check where it lands.
- **Pause a rule with its checkbox.** Deselect the checkbox to stop a rule without deleting it. Apple says the rule is kept but not applied. Turn it back on when you are ready. This is safer than Remove if you might need the rule again.
- **Use a Smart Mailbox to watch mail without moving it.** Choose Mailbox > New Smart Mailbox to build a view, for example for invoices or one project. The messages stay where they are. If you later delete the Smart Mailbox, the emails it listed stay put.
- **Sync rules with iCloud Drive, then rebuild attachments.** Turn on iCloud Drive with Mail selected to make rules available on other Macs. Attached files such as sound files and scripts do not sync. Rebuild those on each Mac, or leave them out of the rule.
- **Find Gmail filters under Filters and Blocked Addresses.** In Gmail on the web, click Show search options, enter the criteria, click Search to check the results, then click Create filter. Google says a forward affects only new mail. Check the Filters list in the same settings when a message goes missing.

## What a rule does in Mac Mail

A rule is a standing instruction. When a message arrives that matches it, Mail acts on that message for you. Apple's guide says rules can highlight messages from a particular person, or move messages out of the inbox into other mailboxes. Most people who want filtering want one of those two things.

All rules live in one list in Mail's settings. Each row has a checkbox. Turn the checkbox off and the rule stays in the list but stops running. That is handy when you want to pause a rule for a few days without losing its settings.

![Person working on a Mac laptop while reviewing email in a bright office](https://lfobmih1tpj3sgpo.public.blob.vercel-storage.com/content-images/problem/mac-mail-rules-filter-email-folders/how-to-create-rules-in-mac-mail-1-d82cf6.jpg)

## How to create a rule in Mac Mail step by step

Start in Settings, not in your inbox. Rules are built in one window, so you do not need to select a message first. The first rule takes a few minutes. Later ones take less time.

1. Open Mail, then choose Mail > Settings. The shortcut is ⌘, (Command and comma).
2. Click Rules at the top of the Settings window.
3. Click Add Rule to create a new rule.
4. Set the condition. This is what the rule checks, such as the sender or the subject line.
5. Set the action. This is what Mail does with a match, such as moving the message to another mailbox.
6. Close Settings, then wait for the next message that matches.

Apple's Change Rules page does not list every condition or action. It also does not say whether a new rule applies to mail you already have. Assume it does not. Test the rule with the next matching message, and sort older mail by hand if you need to.

To change a rule, select it and click Edit. Duplicate copies a rule, which is useful when two rules differ by only one sender. Remove deletes the rule itself. Use Duplicate first when you are not sure, because the original stays in place.

## Put Mac Mail rules in the right order

Mail applies rules in the order they appear in the Rules list, from top to bottom. The order decides which rule gets to act first. Put a rule for one specific person above a rule for a whole group, so the narrow rule has the first chance at the message.

Keep the list short. A short list you understand is easier to fix than a long one you forgot about. Read it once a month. Delete rules that no longer match your mail, and turn off any you are unsure about.

## Smart Mailboxes in Mac Mail: view mail without moving it

Some mail you want to find fast, but not move. Invoices and messages from one client are common examples. Choose Mailbox > New Smart Mailbox, set the criteria, and the matching messages appear together in one view.

Smart Mailboxes do not move mail. Apple's guide says deleting a Smart Mailbox does not delete the emails it listed. That makes them a safe way to test a filter idea before you build a rule that moves mail for real.

![Laptop on a desk in a home office, a common setting for daily email work](https://lfobmih1tpj3sgpo.public.blob.vercel-storage.com/content-images/problem/mac-mail-rules-filter-email-folders/how-to-create-rules-in-mac-mail-3-7a0d8c.jpg)

## Keep rules on every Mac with iCloud Drive

If you use more than one Mac, turn on iCloud Drive with Mail selected. Rules then become available on other Macs that also have iCloud Drive turned on. Open the Rules list on each Mac after you change anything.

Files attached to rules do not sync. That includes sound files and scripts. A rule that plays a sound on your laptop will be silent on your desktop. Rebuild the sound or script part on each Mac, or leave it out of the rule.

## Gmail filters if you read Gmail in Mac Mail

Many people read Gmail in Mail on a Mac. Gmail also has its own filters, set on the web. In Gmail, click Show search options, enter your criteria, and click Search to check the results. Then click Create filter and choose an action.

Gmail filters can apply a label, archive, delete, star, or forward mail. Google's help says forwarding only affects new messages. You manage filters under Settings > See all settings > Filters and Blocked Addresses.

- Apply a label to the message.
- Archive the message.
- Delete the message.
- Star the message.
- Forward the message to another address. This only affects new messages.

Mail is not the only place mail can be sorted. If a message is filed twice, or vanishes from your inbox, check both the Gmail filter list and the Mail rules list. Write down which place owns each rule, so you know where to look.

![Office worker reading email on a laptop at a desk](https://lfobmih1tpj3sgpo.public.blob.vercel-storage.com/content-images/problem/mac-mail-rules-filter-email-folders/how-to-create-rules-in-mac-mail-2-7e1fc5.jpg)

## What manual email sorting costs you

- **8.8 hours** a week on email for the heaviest 25% of email users, Microsoft 2023 survey ([source](https://www.microsoft.com/en-us/worklab/work-trend-index/will-ai-fix-work))
- **57%** of an average employee's time spent communicating, including 15% on email ([source](https://www.microsoft.com/en-us/worklab/work-trend-index/will-ai-fix-work))
- **$23.80** median hourly wage for all occupations, BLS May 2024 ([source](https://www.bls.gov/news.release/archives/ocwage_04022025.htm))
- **$32.66** mean hourly wage for all occupations, BLS May 2024 ([source](https://www.bls.gov/news.release/archives/ocwage_04022025.htm))

Microsoft's 2023 Work Trend Index surveyed 31,000 full-time employed or self-employed workers in 31 markets. The heaviest 25% of email users spent 8.8 hours a week on email. Over 52 weeks, that is 457.6 hours. This is a top-quartile figure, not an average.

Microsoft also found that employees spend 57% of their time communicating, and 15% of their time on email. The rest goes to creating documents, spreadsheets, and presentations, which is 43%.

| Estimate | Hours a year | At $23.80 an hour | At $32.66 an hour |
| --- | --- | --- | --- |
| Top 25% of email users at 8.8 hours a week | 457.6 | about $10,900 | about $14,900 |

_Our arithmetic from Microsoft's 8.8 hours and BLS May 2024 wages for all occupations._

The wage figures cover all occupations. They likely understate what knowledge workers earn, so the real cost of your time may be higher. Treat the table as a rough floor, not a bill.

Asana's Anatomy of Work page says 60% of a person's time at work goes to work about work, not skilled work. It is based on more than 10,000 knowledge workers. The page does not give a survey year, so use that figure as a signal, not a measurement.

Filters cut only part of this. They do not remove replies, meetings, or the reading you have to do. A good rule saves the sorting step, and sorting is only one slice of a busy inbox.

## Mistakes people make with Mail rules

- Leaving the checkbox off. A rule that is turned off stays in the list and does nothing.
- Putting a broad rule above a narrow one, then wondering why the narrow rule never shows an effect.
- Expecting a new rule to clean up old mail. Apple's page does not say it does.
- Assuming a sound or script reaches your other Mac through iCloud. Attached files do not sync.
- Expecting a Smart Mailbox to move mail. It only shows matches.
- Setting a Gmail forward and expecting old mail to follow. Google says forwarding affects only new messages.
- Trusting a rule without checking it. Look at the folder it fills for a few days.

## Where Lazur helps with Mail rules, and where it does not

Lazur is a voice assistant for the Mac. Hold ⌥ ⌘ to ask about anything on screen, and Lazur answers out loud. Ask where something is, and Lazur draws a circle and a label around it. Ask how to do something, and Lazur guides you one click at a time, waiting for each click.

For Mail rules, that means Lazur can walk you through Mail > Settings > Rules while you do the clicks. It can explain a field you do not understand. It does not click buttons, edit your rules, or change your Gmail filters for you.

## Next steps for your Mac Mail filters

Pick the one sender who fills your inbox with mail you do not need. Make one rule for that sender. Watch the next few matches, then add a second rule. Small steps keep the list easy to fix when something breaks.

## With Lazur

Lazur is a voice assistant for the Mac that lives in the notch. Hold ⌥ ⌘ and ask; it sees your screen, answers out loud, points at buttons and walks you through apps. Hold fn to dictate. Free for 3 days, then $18/month: https://www.lazur.app/download

- “Walk me through making a rule that moves newsletters out of my inbox.”: Lazur names each step, points at the next control, and waits for your click before it moves on. (Walks you through it)
- “Walk me through making a rule in Mail.”: Lazur points at Mail > Settings, then Rules and Add Rule, and waits for each click before it names the next step.
- “What does this condition field mean?”: Lazur explains the field you are looking at, out loud, while the Rules window stays open on your screen.
- “Where is the Add Rule button?”: Lazur draws a circle and a label around the button on your screen, so you do not have to hunt for it.
- “Remind me on Friday to check my Mail rules.”: Lazur sets a reminder in Apple Reminders for the day and time you name.

## A plan you can start this week

- **Day 1: Read your current rules.** Open Mail > Settings > Rules and read every row. Note which rules are on, which are off, and which ones you do not recognize. Delete nothing yet.
- **Day 2: Build one sender rule.** Pick the sender who sends you the most mail you do not need in the inbox. Create one rule with one condition and one action. Confirm in the Rules list that it is turned on.
- **Day 3: Check the next match.** Wait for the next matching message and confirm it went where you expected. If it did not, check the checkbox, the condition, and the order of the list.
- **Day 4: Add a Smart Mailbox.** Build one Smart Mailbox for mail you want to find quickly, such as invoices or one client. Confirm the messages stay in their original mailboxes.
- **Day 5: Check Gmail and iCloud.** If you use Gmail, read its Filters list and note which filters overlap with your Mail rules. Turn on iCloud Drive with Mail selected on your other Macs, and rebuild any rule that used an attachment.

## FAQ

### Where are rules in Mac Mail?

Open Mail, then choose Mail > Settings and click Rules. Apple's Change Rules page covers this path for macOS 27. Older macOS versions may call the menu Preferences, so look in the Mail menu if the name does not match.

### Can a Mac Mail rule move messages out of my inbox?

Yes. Apple's guide says rules can move messages out of the inbox into other mailboxes. Choose that as the action when you set up the rule.

### Do Mail rules apply to mail I already have?

Apple's Change Rules page does not say. Do not assume they do. Test the rule with the next matching message, then sort older mail by hand if you need it sorted.

### What is the difference between a rule and a Smart Mailbox?

A rule acts on incoming mail and can move it. A Smart Mailbox only collects matching messages into one view. Deleting a Smart Mailbox does not delete the emails it listed.

### Do my rules show up on my other Mac?

They can. Turn on iCloud Drive with Mail selected. Attached files such as sound files and scripts do not sync, so rebuild those parts on the other Mac.

### Should I use a Gmail filter or a Mail rule?

Use whichever place makes the rule easier to find later. Write down where each rule lives, so you can check both places when a message goes missing.

### Why does my rule seem to do nothing?

Start with the checkbox. Then check the order, the condition, and whether a Gmail filter acted first. A Smart Mailbox that shows the mail is not a rule that failed.

### Can Lazur set up the rule for me?

No. Lazur does not click buttons or edit files for you. It can walk you through Mail > Settings > Rules one click at a time, explain a field, or point at the button you need.

## Sources

1. [Change Rules settings in Mail on Mac - Apple Support](https://support.apple.com/guide/mail/change-rules-settings-cpmlprefrules/16.0/mac/27), Apple, checked 2026-11-07
2. [Automatically sort incoming emails in Mail on Mac - Apple Support](https://support.apple.com/guide/mail/automatically-sort-incoming-emails-mlhlp1190/mac), Apple, checked 2026-11-07
3. [Gmail Help: Create filters to manage your email](https://support.google.com/mail/answer/6579), Google, checked 2026-11-07
4. [Microsoft Work Trend Index: Will AI Fix Work? (2023)](https://www.microsoft.com/en-us/worklab/work-trend-index/will-ai-fix-work), Microsoft WorkLab, checked 2026-11-07
5. [BLS Occupational Employment and Wages News Release, May 2024](https://www.bls.gov/news.release/archives/ocwage_04022025.htm), U.S. Bureau of Labor Statistics, checked 2026-11-07
6. [How Work About Work Gets in the Way of Real Work - Asana](https://asana.com/resources/why-work-about-work-is-bad), Asana, checked 2026-11-07
