How to Get Apple Mail Notifications for VIPs, Contacts, Inbox, Smart Folders, Rules or All Messages

To specify what kind of mail you want to receive desktop alerts for in Notification Center:

How to Add Desktop Notifications to Incoming Message Rules in Apple Mail

To make any incoming message rule in Apple Mail alert you to the messages its criteria select:

Inbox Only: receive alerts only for new messages arriving in your inbox. VIPs: get alerts only about messages from people you have marked as VIPs. Contacts: get notifications of messages from people in your address book (you cannot pick individual contacts for notification). All Mailboxes: have notifications show up for all new messages arriving in your email accounts. A smart folder: be alerted to all new mail arriving in that smart mailbox. Using the folder’s selection criteria, you can create a set of email notification rules.

To add a new rule that notifies you about the emails that match its criteria:

How to Turn Off Apple Mail (or All) Desktop Alerts

To disable all Notification Center alerts for the rest of the day, click the Notification Center icon in the menu bar while holding down the Option key. Click again while holding down Option to enable alerts again at any time.