Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On Mountain Lion, I don't get email notifications in Notification Center when Mail.app isn't running.

This is not the expected behaviour (it is inconsistent with the Mail.app behaviour on iOS) and makes the notification feature redundant (Mail.app shows a new email badge and also has an email-snippet view).

Is there a setting or third-party solution to fix this?

UPDATE:
When I'm interacting with email I want to be able to command+tab.
This is very handy when composing a message that consists of copy-pasted content from other applications. I also use the "drag a file to the dock icon" functionality to create a e-mail with an attachment.

But when I'm not interacting with email (98% of the time) I don't wan't Mail.app cluttering the application-switcher but do want to be notified of new email (via either a notification or a badge).

share|improve this question
3  
I find it strange that Apple has not implemented this in Mountain Lion. We can use Messages and FaceTime without the corresponding apps being open. It just makes sense to implement this for Mail as well. Back to the Mac! –  gentmatt Aug 4 '12 at 9:18
    
Indeed, @gentmatt, and I assume that the process that fetches new email during Power Nap is quite customized too: I don't think that OS X is just letting the full Mail.app run for some random time then. I guess future releases will indeed show notifications even when Mail.app is not (visibly) running. (I also expect some badge for the number of notifications in the Notification Center, but that is unrelated to the above. As it's now, Notification Center is not of much use to me.) –  Arjan Aug 4 '12 at 9:48
    
actually it's the expected behaviour: if an app it's closed, it has to be closed - it would be a bug if it continues to poll the imap server to see if there are new messages while it's closed –  Magnetic_dud Oct 14 '12 at 17:58

4 Answers 4

up vote 6 down vote accepted

I can only say that this is true. Mail.app has to be open to get notifications.

A workaround: Open Mail, and close it with the red dot (or command+w). So the blue point under the icon in the Dock is still there. So you have no window open but mail is still getting emails.

There is no app or anything there yet to fix this "problem".

share|improve this answer
    
This doesn't hide the dock badge. –  Zr40 Jul 27 '12 at 18:52
2  
The question was if he can get notifications of new mails when the mail.app is closed. –  2DD8847 Jul 27 '12 at 18:54
    
Well that's unfortunate. I was kinda hoping there was something I was missing with this issue as well, because my problem isn't with the dock, but with Mail.app showing up in the Cmd-Tab list. –  Terrance Shaw Jul 27 '12 at 21:47

Unfortunately, there's currently no way to have Mail.app check for mail if it's not running. But it is possible to hide the badge!

In System Preferences, open Notifications and select Mail. There, deselect 'Badge app icon with notification count'.

Notification settings

share|improve this answer
    
Can't you hide the badge on the Dock icon by turning that off in the Notification settings for Mail? I haven't tried, but was under the impression you could... –  Dan J Jul 27 '12 at 20:37
    
Yes, you could turn of the badge via the notification center settings. –  2DD8847 Jul 27 '12 at 21:02
    
Thanks! Didn't know that. I've updated my answer. –  Zr40 Jul 28 '12 at 8:01

No desktop email application can receive email if it isn't running. The iOS Mail app is a different beast to the OSX app. It is always active in the background. I don't see why the OP thinks this is a problem. Just minimise Mail, the dock icon isn't obtrusive.

share|improve this answer
2  
While technically right, of course things could have been implemented in a way for which the main user interface would not need to be running. And apart from the Dock icon, Mail.app is also shown when using Command-Tab. –  Arjan Aug 2 '12 at 17:09

I don't want to test this on my system because it might break code-signing, which could prevent Mail from updating correctly, but quitting an app, adding the lines

<key>NSUIElement</key>
<string>1</string> 

to the inside of the top-level <dict> of the file /Applications/Mail.app/Contents/Info.plist and then relaunching the app has had the effect in the past of making an app "faceless" — no Dock icon, no tab switching.

share|improve this answer
    
I tried that, but it seems like many applications no longer open at all if the code signature is invalid. Even if that worked, it would also remove the menu bar. –  ؘؘؘ Aug 4 '12 at 17:52
    
@Lri Fascinating! You're right about the menu bar. I forgot about that because I rarely use it in Mail, but it would indeed go away. As far as not opening if code signing doesn't check out, do you suppose that is a function of Gatekeeper? How do you have your Gatekeeper security settings? –  Daniel Lawson Aug 4 '12 at 18:32
    
I've disabled it. Applications just crash silently when trying to open them, which is a bit weird. I didn't find any mention of code signing changes in Apple's What's New in OS X document, so it might be something specific to my installation as well. –  ؘؘؘ Aug 4 '12 at 18:39
    
Thanks for pointing this out. This merits further investigation. I'll look into it. –  Daniel Lawson Aug 4 '12 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.