Mail App Notifications – Fix Show Message Preview Not Working
mail.appnotifications
In Notifications Preferences, I have the "Show Message Preview" option disabled for Mail.app, but nonetheless, message previews still appear in Notification Center.
How can I fix this?
macOS Sierra, Mail.app 10.3
Best Answer
The checkbox only affects the notifications when they display as a notification, not when they are subsequently shown in Notification Center. Notifications are always shown in full with the message preview when viewing them in Notification Center.
I'm a Mac OS X developer and I just finished adding Notification Center support to my app. For what it's worth, here's what I found out:
By default, notifications (the alerts) are NOT shown if the application is already frontmost (this explains why alerts refuse to show up sometimes, and you only see the notification in Notification Center). This is up to given applications to overwrite and it is not very straightforward, so do expect most applications to not show notifications when they're active. In my opinion, this is very annoying.
The application, after sending a notification still has a lot of control over that given notification. It can remove it from your screen at any time it wants, regardless of the settings you have. Basically, if Safari, for some reason was set to remove notifications after X seconds, it will do that, your settings do not matter.
I have no idea if this is a bug in Safari or Notification Center, or both. However, I am fairly confident that there is nothing you can do about the second issue (there might be a hidden defaults setting for the first one, but I haven't heard of it). I did check the WebKit API Specification, to make sure it's not something that the individual websites are doing, and you can rule out websites from your suspect's list, because they do not have any control over the notifications.
I guess we'll have to wait and see if Apple will address this in its next bug fix release (10.9). However, by the looks of it, not showing notifications when the app is frontmost is a "feature", so don't get your hopes up.
There is a configurable keyboard shortcut to open Notification Center:
Other than that, there seems to be no way to configure any keyboard shortcuts. The closest I could get is discovering that you can set Notification Center as the action for a hot corner. If you wanted to do this when a key is pressed, you can try combining this with AppleScript (like in this post).
Best Answer
The checkbox only affects the notifications when they display as a notification, not when they are subsequently shown in Notification Center. Notifications are always shown in full with the message preview when viewing them in Notification Center.