As of May 31, 2023, we have updated our Code of Conduct.
24 votes

outlook: apply rule to past messages

Here are the instructions for Outlook for Mac 2011 and 2016. Basically you have to select the folder or messages you want to apply rules to, then on the Message menu, point to Rules, point to Apply, ...
Jack Cushman's user avatar
24 votes
Accepted

outlook: apply rule to past messages

I just figured this out because I was having such a hard time too! Its easier than you think. Go to your inbox, click on one of your emails then under the Edit menu click Select All. Then in the home ...
Hannah's user avatar
  • 264
3 votes
Accepted

Help writing AppleScript with Mail rule to keep most recent

I don't use Mail.app and haven't much experience implementing Mail actions, so am not in the position to test your script. However, reading through it, there are places in it of potential concern ...
CJK's user avatar
  • 5,392
3 votes

Where are Mail.app rules stored? They got deleted and I want to restore them

Here's an update to Charles great answer to restore lost Apple Mail Rules which you might lose when upgrading to Mac High Sierra OS10.13.4: Close Apple Mail. Probably on your iPhone and iPad too. On ...
Longmont Ron's user avatar
2 votes

How can I get my mail rules from Mavericks to Sierra without doing them over one by one

There are a couple of things you can try, but these seem to be a bit hit and miss (i.e. they don't seem to work in all cases). Before I go any further, Apple Mail rules are stored in a property list ...
Monomeeth's user avatar
  • 63.7k
2 votes

outlook: apply rule to past messages

Using Outlook for Mac's "New Outlook" mode, you can run rules on existing messages. Just go to the Tools...Rules menu, and then click on the "play" button next to the rule you want ...
Justin Grant's user avatar
2 votes

Apple Mail - Do not apply rules automatically

Apple Mail rules run automatically only the first time they're set. After that rules will only run manually. Going into Preferences and unchecking 'Active' will deactivate the rule and will never ...
FoamyBeer's user avatar
  • 194
2 votes

Apple Mail rule that combines "all" and "any"

There are three ways to do this, but all are cumbersome. There's no simple way. Like you mentioned make one rule per OR condition, such that each rule looks like belongs to <account> AND ...
Benjamin Carlsson's user avatar
1 vote

OS X Mail: What circumstances are there were Mail rules could be delayed or not invoked

macOS mail app only runs rules when it’s fully powered up (not just power-nap checking mail) and connected to the internet. You would need a server side rule processing provider like Outlook / ...
bmike's user avatar
  • 229k
1 vote

Help writing AppleScript with Mail rule to keep most recent

Many thanks to @CJK for such a thorough response. Your solution works with just one tweak, and I also learned some core concepts for AppleScript. The working script below now executes quite quickly: ...
Lantz Warrick's user avatar
1 vote
Accepted

Script to run Apple Inbox Rules

You don't really need the dictionary for this, as all the things you need to do are key-commandable. The only manual step is to deselect all afterwards [I can't, or am not willing to, test this script ...
Tetsujin's user avatar
  • 109k
1 vote

What is the ‘has list-id containing’ iCloud Mail rule?

a unique identifier for a mailing list regardless of the particular host that serves as the list processor at any given time. https://www.rfc-editor.org/rfc/rfc2919 You can use this to perform an ...
grg's user avatar
  • 195k
1 vote
Accepted

Big Sur Mail all archives folder

With the Mailboxes column showing click the plus sign to the right of the header "Favourites", which appears when hovering the pointer over it. Then, in the resulting window, select "...
Redarm's user avatar
  • 4,803
1 vote

macOS Mail app rules to delete are archiving instead

Check settings in Gmail itself. In "Forwarding and POP/IMAP", what's the setting under "When I mark a message in IMAP as deleted:"? And if that is set to "Auto-Expunge off" - what is the setting for "...
dr.nixon's user avatar
  • 5,398
1 vote
Accepted

Mail.App, Rules, Regular Expression or content search, Base64

Mail and spotlight use the same process to construct and search the same metadata database. If you can’t search in spotlight, mail can’t search as well. To enhance the function of both, add a custom ...
bmike's user avatar
  • 229k
1 vote

Set "Load remote content in messages" per sender?

In macOS High Sierra, I do the following to automate the clicking of the Load Remote Content button in Mail. Using an Automator Service with setting Service receives [no input] in [Mail] and a Run ...
user3439894's user avatar
  • 56.6k
1 vote

AppleScript auto-responder with incrementing number

A simple way of implementing the auto incrementing would be to use an AppleScript property variable: property responseNumber : 42 Property values are "remembered" between calls to your script. So, ...
MikeLimaOscar's user avatar
1 vote

Forward or redirect email with attachments using Apple Mail to another email address

Why not set up a server side rule using an exchange client? Webmail or outlook might work well and be included.
bmike's user avatar
  • 229k
1 vote

How can I get my mail rules from Mavericks to Sierra without doing them over one by one

There's an easier solution than Monomeeth proposed - and it actually does work. The prerequisite is that you do have a backup of your system before the upgrade wiped your rules. The key point here is ...
bzx's user avatar
  • 121
1 vote

Debugging Mail.app rules

I've been building this rule one entry at a time and testing using ⌘⌥L. Things would work for a few runs, but then stop. It turns out that quitting Mail and restarting will make the rule run just ...
Paul Waldo's user avatar
1 vote

Debugging Mail.app rules

Simplify it to Message content contains 'XXXXX' & add 'Stop evaluating Rules' as your last action in the Rule. Or, if the number may possibly occur in other emails, make the rule. All ...
Tetsujin's user avatar
  • 109k
1 vote

Is it possible to set up rules in Mail that do not appear in the rules list?

Not that I know of. However, depending on your email provider, you may be able to set up server-side rules, which wouldn't appear in Mail.app and would be applied before your Mail.app rules.
calum_b's user avatar
  • 5,851
1 vote
Accepted

How to determine the specific rule Mail App used to move a given message?

2 ways I can think of, neither particularly 'fun' The 'one rule' method Disable all rules bar one put the 'mistreated' email back in the inbox Run the single rule see if it moves the email ...
Tetsujin's user avatar
  • 109k
1 vote

Mail Script that moves messages with download links to a folder

I assume you're wanting to use a trigger in mail to triage messages as they come in. You will create a local mailbox named "Music" or whatever, and then set the mailbox property of the message to "...
jweaks's user avatar
  • 368
1 vote

Mail.app rule works only partially

I have the same issue. After being moved to another folder the message is marked as Unread for some reasons. And I don't have any server rules that might do that (I don't have any server rules as a ...
retif's user avatar
  • 531

Only top scored, non community-wiki answers of a minimum length are eligible