137

When I am doing some work on my macbook pro, Mail app's main window keeps popping up in the background, it even pops up when I watch movies by interrupting full screen. This is so frustrating, I can't find out solution to this, googled and went to many discussion forums, no luck, suggestions that I found are very old and outdated. Has anyone faced similar issues or does anyone knows solution to this?

  • 2
    If you were observing for a while, when it pops up, google accounts go from offline to online. So I think that their logging-in is the reason to the popup. You could try putting them offline using mailbox menu. – anki Sep 04 '19 at 20:24
  • Sometimes, if you force quit an Application, macOS reports information about the Application to Apple so this might be an easy way to let Apple know about the bug. I think there might also be a section for comments but IDK for sure. – Todd May 06 '20 at 13:17
  • 2
    This doesn't seem to be happening in Big Sur so far with gmail on Mac's mail app. I had same problem in the previous macOS versions. – user1046037 Nov 13 '20 at 08:25
  • @user1046037 thanks for the info. I was looking for reasons to upgrade lol – heyfrank Nov 30 '20 at 18:07
  • Yep seems to be fixed in Big Sur!!! – Josh Hibschman Dec 18 '20 at 17:46
  • Unchecking "split view when in full screen" setting fixed the problem for me, even though I never use full screen for mail (and don't have google accounts in Mail.) I'm noting this because I skipped that solution over at first, since I don't use full screen. – Joshua Goldberg Aug 04 '21 at 14:40

11 Answers11

48

I have the same issue: The google calendar stuff is nonsense. The notification settings suggestion doesn't work.

I've narrowed it down to the following:

I normally hit the red cross button on the viewer window once I have finished looking at my mail, this closes open viewer windows but leaves the mail app active in the dock:

So if I have mail running, but no viewer windows open, then I get a viewer window randomly popping up to the foreground a few times an hour.

If instead of hitting the red cross button, I minimise mail using the minus button, then I don't get any viewer windows randomly opening. In this scenario, the mail viewer window is minimised either on the right hand side of the dock or into the application icon itself, depending on your settings (System Preferences > Dock > "Minimize windows into application icon").

So I have changed my habits to work around this annoying bug...

Malaki
  • 3
N B
  • 489
  • 4
    Now we just have to wait a few years to be allowed to minimize fullscreen windows – Andreas Jul 06 '19 at 12:15
  • 4
    or just quit the damn mail, i have an annoying and whopping 20k unreads anyway! – sed Jul 15 '19 at 23:49
  • Tried everything else, this is the only thing that works, wonder if this is on the 'roadmap' to be fixed at some point, it's been happening now for many months. – Simon L. Brazell Jul 19 '19 at 02:40
  • Tried everything else, this is the only thing that works, wonder if this is on the 'roadmap' to be fixed at some point, it's been happening now for many months. – Simon L. Brazell Jul 19 '19 at 02:40
  • This is the only sensible workaround here. – Drumbeg Jul 23 '19 at 13:49
  • 3
    I did a screen capture of this happening and it looks like it pops up because of an auth error with gmail (that quickly resolves). The error text shows up just under the search bar. I have 2FA turned on and wonder if that in combination with how frequently mail fetches happen is causing problems. I'll just hit the minus for now – Josh Hibschman Sep 06 '19 at 13:29
  • Would be nice if Apple could add some logic to Mac Mail to not check the email when another app is set to full screen. – Gene Parcellano Jun 06 '20 at 17:10
  • Even better then your solution is this "How to minimize or hide an app - lvl asian style" answer that some asian posted on this very own topic: https://apple.stackexchange.com/a/388148/23166 Works for me. XD – Pierobon Jun 20 '20 at 10:13
  • This doesn't seem to be happening in Big Sur so far with gmail on Mac's mail app. I had same problem in the previous macOS versions – user1046037 Dec 01 '20 at 01:05
30

I have solved this problem by removing my Google account in Mail and making my Google Gmail address a normal (IMAP) account. Since then no more pop-ups.

Shiva
  • 113
  • 1
    This is the correct answer. It's a Mail.app/GMail interaction. – vy32 Mar 29 '20 at 17:54
  • Can you add details on exactly what you did to your answer please? My gmail account is already IMAP and this keeps happening. – Louis Lac May 12 '20 at 11:26
  • 1
    This doesn't seem to be happening in Big Sur so far with gmail on Mac's mail app. I had same problem in the previous macOS versions – user1046037 Dec 01 '20 at 01:05
  • 1
    @LouisLac he is saying he made a "normal" IMAP account (not the kind if you click the Google logo, but a no-name IMAP) so the Mail app would not know that the account is a Google account. i thought of doing this but it is complicated. i ended up just removing my Google account. :( Good news, though: as mentioned above, it seems to be fixed in Big Sur. :o – sf71 Mar 05 '21 at 04:38
20
  1. Mail > Preferences > General, uncheck:
    "Prefer opening messages in split view when in full screen."

  2. If you need real time notifications, best is to give the Mail app its own desktop in one corner. I've been doing it for several weeks and got no issues. You can also put some more background apps there: music ?

  3. ⌘-W and ⌘-Q are your friends.
    Maybe try to get in the habit of closing Mail when watching a movie? It'll save you this hassle, a little battery life, and I promise, your mail will still be there when your movie is over. :)

  4. Maybe try a different mail app? The thing is, Mail.app has been a really wonky program since time immemorial. Its one of a handful of apps that has never once got a full rewrite (along with the likes of Grapher and Activity Monitor). So I wouldn't hold your breath for a fix for these mysterious stirrings. So, if you're someone who really prefers a good desktop email client, you might want to look at a program like Unibox (super slick, ~$15, and/or available through Setapp). Outlook 2019 isn't too bad either, although it is still Microsoft Outlook, so there's "a lot there".

anki
  • 11,753
Geoff Nixon
  • 3,243
  • 12
  • 19
  • 10
    Thanks for #1. That's a good tip. #2 is hardly a helpful snarky comment. Substitute "watching a movie" for "doing work". #3 is also not an answer to the question and in many workplaces is not a viable option. – Wesley Bland Jun 21 '19 at 14:25
  • 3
    @WesleyBland The original question specifically mentioned interruptions while watching full-screen movies, so it wasn't that snarky. – Jason Machacek Jun 27 '19 at 23:16
  • 2
    the question is how to solve this issue and not all these 3 answers; me for example, I want to understand whether some fraud service is doing it or it's just an apple's bug; besides this the mail app of apple is a great mail client! – Nikita Jul 18 '19 at 12:22
  • this advice has no any connection to question asked. it just do what it means: let you open email messages in a split view (near to the main Mail window) when you use Mail app in a fullscreen mode
  • – okliv Feb 28 '20 at 10:56
  • 1
    What part of actually solving a bug is it to just close the app and never use it? That's not a solution. If you have a car you like, that you always drive with AC on and some quiet music, and every now and then some random really loud and annoying emergency broadcast keeps interrupting your awesome CD or cellphone music... Would you never turn your stereo on anymore? Or would you only turn it on every 5 minutes to check witch music is currently playing, then turn it off again? Or maybe even remove the stereo completely? I need emails to "ding" me when they arrive, I need the app always open. – Pierobon Jun 20 '20 at 10:10
  • 1
    This doesn't seem to be happening in Big Sur so far with gmail on Mac's mail app. I had same problem in the previous macOS versions – user1046037 Dec 01 '20 at 01:05
  • #1 does not work. #3 ⌘-W does not work; it will still open. ⌘-Q works but also means you will not get any kind of notification. may work for some. surprisingly ⌘-H works. not sure why hiding it works but closing it does not work. – sf71 Mar 05 '21 at 04:41
  • The "split view when in full screen" preference was the fix for me, even though I don't use full screen for Mail. – Joshua Goldberg Aug 04 '21 at 14:41
  • The option #1 suggested Geoff was the fix for me, thanks! My problem was related to Mail.app popping up at startup, even though the "Hide" box was checked. Thanks a lot! – nd091680 Feb 01 '22 at 07:19