Friday, October 17, 2014

How to only show Notifications for certain inboxes in Mac Mail

Though I use several email accounts in Mac Mail, I primarily care about one of the accounts. For the past few years, I've ignored notifications for the other accounts, but I finally decided to do something about it. The solution is a bit unintuitive, but it serves its purpose.

Looking in Notification Center system preferences on Yosemite (10.10), there's simply generic settings for how/when you want them to show. Under the Mail section of said pane, I have this set to "Banners". This applies for any and all notifications that are generated by Mail.

The best solution I was able to put together was this:
  1. Open Mac Mail
  2. Mailbox menu -> "New Smart Mailbox..."
  3. Use the following settings (bold are my inputs and underlines are dropdowns):
    • Smart Mailbox Name: Notifications (use anything you want)
    • Contains messages that match any of the following conditions
    • Message is in mailbox [some inbox]
  4. Add as many conditions as you want, and then press OK
  5. Mail menu -> Preferences
  6. Set the "New message notifications" dropdown to the name of your smart mailbox
You now will only receive notifications for messages that match the smart mailbox conditions.