
Use rules to manage emails you receive in Mail on Mac
You can create rules that help you manage incoming email messages and automate tasks, such as replying to or deleting messages. For example, you can create a rule that highlights messages from a specific person, or that automatically moves messages from your inbox to other mailboxes.
In the Mail app
on your Mac, choose Mail > Preferences, then click Rules.To review an example of a rule, select a provided rule, then click Edit. To close the rule, click Cancel.
Click Add Rule, then type a name for the rule.
Indicate whether any or all of the conditions must be true for the rule to be applied to a message.
Specify the conditions.
To use different header fields in conditions, choose Edit Header List from the first pop-up menu. To add your own header, click the Add button
