Apple Mail Rules vs. iCloud Mail Rules: Everything You Need to Know

Written by Sandy Writtenhouse

Deciding which rule system to use depends on a variety of factors. Learn the differences between Apple Mail and iCloud email rules, how to set up both, and ways to troubleshoot your rules not working as expected.

Mac Rules vs. iCloud Rules

With two options for creating automated inbox rules on Mac, it’s important to understand the differences between them before selecting one. Here’s a brief rundown of Apple Mail rules versus iCloud Mail rules.

Mac Mail Rules iCloud Mail Rules (iCloud Mail only)
Where they run
On your Mac (Mail app, client‑side) On Apple’s iCloud Mail servers (server‑side)
Runs when Mac is off
❌ Only when Mac is on and Mail is running discussions. ✅ Always, on the server
Affects iPhone/iPad
❌ Rules do not run on iOS; effects sync after Mac runs them support. ✅ Applied before delivery to all devices
Works for Gmail/Outlook in Mail
✅ Any account in Mail (Gmail, Outlook, etc.) ❌ iCloud Mail accounts only
Available conditions
Rich: from, to, subject, body, size, date, headers Limited: from, to/Cc, subject contains, list‑id
Available actions
Move, copy, delete, mark read, flag, color, sound, run script Move to folder, Mark as Read, Forward, Move to Trash (plus combos)
Where to set up
Mail → Settings → Rules iCloud.com → Mail → gear icon → Settings → Rules; or iOS Settings → iCloud Mail Rules (iOS 17+)

After reviewing the above table, you’re likely deciding which option is right for you. If you want cross-device behavior for handling emails, go with iCloud rules. But if you want complex conditions or rules for non-iCloud accounts, choose Apple Mail rules on Mac.

Now, maybe you have a specific scenario and aren’t sure which rule system fits it best. Here are several common situations with which method is a better choice and why.

Scenario / goal
Better choice Why
Keep newsletters out of Inbox on all devices
iCloud Mail rule Server-side rules file mail before it hits any device – iPhone, iPad, and Mac all see it already filed
Auto-sort shopping or promo mail into folders
iCloud Mail rule Works 24/7 without your Mac being on
Highlight VIP senders consistently across all devices
iCloud Mail rule + VIP Server-side ensures consistency; VIP handles per-device notifications
Auto-forward invoices or work mail to another inbox
iCloud Mail rule Server-side forwarding is more reliable than client-side
Heavy Gmail/Outlook use in Apple Mail on Mac
Mac Mail rule Only Mac rules act on non-iCloud accounts in the Mail app
Complex multi-condition logic (body text, size, headers)
Mac Mail rule Mac rules support body text, size, custom headers, color-coding
Run AppleScript or custom automation workflows
Mac Mail rule Only Mac rules can trigger AppleScript
One-off cleanup of existing mailboxes
Mac Mail rule Apply manually to selected mailboxes, then turn off
iPhone/iPad only – no Mac
iCloud Mail rule Create and manage from iOS Settings; no Mac needed
Max reliability across all providers and devices
Mix: server + client Server-side for broad filtering; Mac rules for advanced or provider-specific workflows

With all of this in mind, let’s walk through how to create rules in both Apple Mail on Mac and iCloud Mail.

How to Create Rules in Apple Mail on Mac

To automatically act on emails as they arrive and save time managing messages on Mac, you can set up Apple Mail filters in the form of rules. This allows you to do things like move emails from a particular sender to a folder or flag messages containing PDF attachments.

Open Mail on your Mac and follow these steps:

  1. Select MailSettings in the menu bar.
  2. Open mail on your Mac and select settingsOpen mail on your Mac and select settings
  3. Go to the Rules tab in the pop-up box.
  4. Choose Add Rule.
  5. Go to the Rules tab and select Add RuleGo to the Rules tab and select Add Rule
  6. Enter a Description (aka Name).
  7. Pick any or all for the matching conditions. This is important if you add multiple conditions.
  8. Add the first condition and select or enter the corresponding detail.
  9. Add the first action and select or enter the corresponding detail.
  10. Set up the rule by defining a condition and an actionSet up the rule by defining a condition and an action
  11. Use the plus sign to add another condition or action.
  12. Click OK to save the rule.

Keep in mind that rules run from top to bottom. If necessary, you can select and drag a rule to a different position in the list.

How to Create Rules in iCloud Mail

Now you may be wondering how to set up rules in Apple Mail on iPhone. For this, you have two options: The Mail app in your Settings and iCloud Mail in your web browser.

If you’re creating iCloud Mail rules on Mac, you’ll use the same steps. Just note that the available conditions are more limited than with Apple Mail rules.

iPhone Settings App

  1. Open the Settings app and select AppsMail.
  2. Choose Mail Accounts and pick iCloud.
  3. Tap iCloud Mail Rules under Organize Your Inbox.
  4. Select Add Rule and enter a Rule Name.
  5. Beside Message, pick the condition and add the corresponding detail directly beneath.
  6. Beside Action, pick the action and add the corresponding detail directly beneath.
  7. Tap the checkmark in blue to save the rule.

When you finish, you’ll see all of your rules where you can select one to view or change it. You can also tap Edit to remove a rule or rearrange the order.

iCloud.com

  1. Visit iCloud.com, sign in, and pick Mail.
  2. Click Settings (gear icon) on the left and select Settings.
  3. Open Mail on iCloud.com and select Settings from the gear menuOpen Mail on iCloud.com and select Settings from the gear menu
  4. Choose Rules and use the plus sign to add a rule.
  5. Choose Rules and use the plus sign to add a ruleChoose Rules and use the plus sign to add a rule
  6. Enter a rule name.
  7. Follow Steps 5 and 6 above to add the condition and action.
  8. Name the rule and configure its condition and actionName the rule and configure its condition and action
  9. Click Add to save the rule.

You’ll then see a list of your rules. You can pick one to view, change, or delete it or rearrange the order.

📌 Note: Allow up to 15 minutes for your new rule to take effect.

When Apple Mail Rules Aren’t Enough: Clean Email

While Apple Mail rules can handle many situations, there are limitations that you may not be able to look past. This includes iCloud’s limited criteria for rules, keeping the Mac Mail app open, and rules only applying to incoming emails.

Here’s how Clean Email compares to Apple Mail and iCloud Mail when it comes to mailbox rules.

Use case / requirement Apple Mail rules (macOS) iCloud Mail rules Clean Email
Runs when your Mac is closed ❌ No ✅ Yes ✅ Yes
Applies across all devices automatically ⚠️ Mac-dependent ✅ Yes ✅ Yes
Works with non-iCloud providers (Gmail, Outlook, Yahoo) ❌ No ❌ No ✅ Yes
Supports AppleScript / advanced local actions ✅ Yes ❌ No ❌ No
Age-based cleanup (e.g. delete after 30 days) ❌ No ❌ No ✅ Yes
Bulk cleanup of existing messages ⚠️ Limited ⚠️ Limited ✅ Yes
Best use case Power-user, local logic Core, always-on sorting Long-term automation and cleanup

Now, let’s look at how Clean Email’s features fill the gaps with Apple Mail and iCloud Mail rules.

Gap: Neither Mac nor iCloud rules support true age‑based auto‑deletion or auto‑archiving.

Auto Clean rules let you automatically delete or archive emails based on a certain number of days. You can set up rules for any email account using a wide range of conditions – and they work on both new and existing messages.

Auto-Delete Old Emails with Attachments in Clean EmailAuto-Delete Old Emails with Attachments in Clean Email

Gap: iCloud rules are iCloud‑only, and Mac rules only run while the Mail app on your Mac is open.

Smart Folders group emails into pre-made category folders. You’ll see folders for newsletters, shopping, notifications, finance, and more. These folders work automatically with all email accounts, on any device, and without any setup.

Automatically filters emails in Clean EmailAutomatically filters emails in Clean Email

Gap: Apple’s native rules focus on incoming messages and don’t automatically analyze and group your existing inbox for bulk cleanup.

Cleaning Suggestions scans your inbox and groups emails for deleting, archiving, or marking. You can then clear entire groups of messages at once without manually selecting every email or setting up rules.

Cleaning Suggestions the smart feature of Clean EmailCleaning Suggestions the smart feature of Clean Email

Apple Mail Spam Filter: Junk Mail on Mac vs. iPhone

Apple Mail provides a built-in spam filter on both Mac and iPhone. However, there are some differences between how the feature works on each device.

The junk filter on Mac can be enabled or disabled, is configurable, and uses advanced training. However, on iPhone, the filter is enabled by default, not configurable, and allows for only basic training.

On Mac, you can choose from Training Mode or Automatic Mode for the junk filter:

To configure the junk mail filter on Mac:

  1. Open Mail and select MailSettings.
  2. Go to the Junk Mail tab.
  3. Mark the checkbox for Enable junk mail filtering.
  4. Under When junk mail arrives, choose one of the following:
    • Mark as junk mail, but leave it in my inbox for Training Mode.
    • Move it to the Junk mailbox for Automatic Mode.
    1. Mark any other options per your preference and then close the window.

    With Training Mode, you can manually mark a message as Junk or Not Junk in a variety of ways. If you use Automatic Mode and notice the filter not correctly marking some messages, you can use these actions for better training as well.

    To mark a message as Junk, do one of the following:

To mark a message as Not Junk, do one of the following:

For additional options, learn how to block emails on Mac along with how to block iCloud emails.

Why Apple Mail Rules Stop Working

Have you encountered your Apple Mail rules not working correctly? Maybe the rules weren’t triggered as expected or disappeared after a system update.

Here are the top three failures users experience along with how to fix them.

Mail was closed when the email arrived: Because Mail rules run locally on your Mac, the Mail app must be open for the rules to process.

Rules disappear every time Mail quits: When Mail is enabled under iCloud Drive app syncing, it overwrites local rule changes on every launch with the stored iCloud version.

Rules stopped auto-running after a macOS update: A common user problem where your rules exist but don’t trigger on incoming emails after a system update.

The rule order is correct. Remember, rules run from top to bottom in the list. Upon the first match, Mail stops processing rules for that email. Try moving more specific rules above general rules.

There is a sender address mismatch. When using the From condition, it shows a display name, not the actual email address. Edit the rule using the exact address by going to ViewMessageRaw Source and look for the From: email address.

If both of the above are configured correctly, perform these troubleshooting steps in order:

  1. Confirm that rules are active in MailSettingsRules. Be sure the checkboxes are marked.
  2. Rebuild the affected mailbox by selecting it in Mail and choosing MailboxRebuild.
  3. Remove and recreate the rule(s).
  4. Reset the Mail settings. Quit Mail, go to ~/Library/Containers/com.apple.mail/Data/Library/Preferences/, move the file com.apple.mail.plist to the Desktop, and relaunch Mail. This resets settings like signatures, preferences, and smart mailboxes, but does not affect your email accounts.

Rules Are Running But You’re Not Getting Notified

When you create a rule to move an email to a folder, the Mail app can suppress the alert. So, although the rule works correctly, you are not notified when it happens.

To receive notifications:

On Mac, you can add the Play Sound action to the rule. This provides you with an audio clue if your system notifications aren’t being triggered.

To add this action:

  1. Go to MailSettingsRules.
  2. Select the rule and click Edit.
  3. Use the plus sign to add an action.
  4. Choose Play Sound and select the sound.
  5. Click OK to save your change.

On iPhone, you can mark the rule’s destination folder as a Favorite and then enable alerts for Favorite Mailboxes.

This works for email accounts that support Push notifications such as iCloud and Exchange. For standard IMAP accounts like Gmail and Yahoo Mail, you may not receive an alert until you manually open the folder.

You can set this up in just two steps:

  1. Open Mail and go to MailboxesEdit and choose the Folder.
  2. Open the Settings and select AppsMailNotificationsCustomize NotificationsFavorite Mailboxes and enable Alerts.

Why Rules on Mac Don’t Apply to iPhone

The reason that rules work differently on Mac versus iPhone is the local versus server-side architecture. On Mac, rules run locally which means they process on your actual Mac. But on iPhone, rules run on the email server and not your iPhone.

With this in mind, the way in which your rules are processed depends on which platform receives the email first. For example, if you’re using Mail on your iPhone and your Mac is asleep, then the rule you set up on Mac won’t be triggered.

The solution for situations like this is to use iCloud Mail rules. But there’s a trade-off. The rules apply to both Mac and iPhone devices; however, the setup criteria are limited, and the rules only work with iCloud emails.

Conclusion

Whether you create Apple Mail rules on your Mac or set up an iCloud Mail filter on the web, be sure to keep the differences between the two systems in mind. Consider the depth of conditions you need, whether it’s for iCloud Mail or another service, and where you need the rules to run.

And remember, tools like Clean Email that complement the Mail app can help you bypass its limitations. You can use smart features and perform effective mailbox management on any device by adding Clean Email to your toolbox.

Try Clean Email for Free
*****4.5based on 3,300 user reviews
Get Started
InboxClean Your Mailbox

Use tools like Cleaning Suggestions and Smart Folders to help you quickly clean out an overloaded inbox

Mute unwanted emailsUnsubscribe

Keep unwanted emails out of your inbox by unsubscribing—even from email lists that don’t have an unsubscribe link

Clean your emailsKeep it Clean

Automate repetitive tasks with Auto Clean rules to archive emails as they become old or to sort them into folders

Background
Use filters to find emails you want to clean.Arrow
Screener FeatureArrow
UnsubscribeArrow
Auto CleanArrow
Sender SettingsArrow