C-Command Software Forum

Apple Mail opening slowly

Some time I would say in the past couple months, not obviously around say a macOS upgrade but I just can’t say for sure, I noticed that Apple Mail is taking a long time to load. Typically it takes about 15 seconds to open but sometimes it takes closer to 20 seconds. That, in and of itself, doesn’t bother me as once it loads it is usually on for a long time after that and it runs quite normally. It just takes a long time to load. My concern would be if this long load is indicating some bigger issue where my Apple Mail might crash one day soon. I have a lot of stored mail. I recently looked at the size of the Mail folder and it is about 13 GBytes. I known it to be bigger on other Mac deployments so that is likely still an ok size. But…???

Might this slow load have something to do with SpamSieve??? I was reading a similar thread on this forum but was asked to go ahead and open a new one.

What do I need to do to just disconnect SpamSieve such that I can load Mail without it calling SpamSieve??? And then see how fast Mail opens without SpamSieve present. Can I just click on the “Uninstall Apple Mail Plugin” that I see in the SpamSieve pulldown??? And then what, reinstall SpamSieve again??? I always keep the installers so I have the most recent SpamSieve installer and several other older ones too.

And last, I’ve heard about this “Sample Process” technique in Activity Monitor but I don’t know how one could do that for Apple Mail when the concept is to try to monitor Apple Mail when it goes from not running to running. But when it’s not running it does not show up in Activity Monitor so how would one find it in short order once it starts running to highlight it and then click to run the “Sample Process” routine???

I’m not exactly sure what you’re worried about here. Usually if Mail crashes, you can just relaunch it, and everything will be fine. Your messages are stored in individual files and written to in a way that there shouldn’t be any data corruption even if Mail crashes. If Mail’s database gets damaged, it can be rebuilt from the message data. Regardless of whether Mail is acting funny, you should still have a backup.

In any case, I don’t think there’s a connection between launch time and Mail crashing.

There’s no such thing as an OK or not OK size.

As I said in the other thread, I recommend that you measure what’s happening so that we can take a look at what Mail is doing, rather than speculate.

Yes, you could do that. It’s possible that the problem will go away and not come back when you reinstall. It’s also possible that it will go away and then come back, and then you’ll be back at square one where I ask you to record a sample.

You could leave the SpamSieve app installed while uninstalling the plug-in. Then just reinstall the plug-in (and recreate the rule) later.

You can enter “Mail” in the search box in Activity Monitor. Then click the Mail icon in the Dock, click the Mail item at the top of the list in Activity Monitor, and choose Sample Process. That should still leave it at least 10 seconds to record the sample.

You could also start the sample from Terminal like this:

sample Mail -wait -file ~/Desktop/Sample.txt

and then launch Mail.

So, now this is pretty interesting… Yesterday, I clicked on a link in another post about Apple Mail being slow to open and you, Michael, explained to me that link was to set some preference NOT to ask Mail to count mailboxes. That, if you recall, caused me some new issue you said was causing me a “rule problem” and so you gave me another link that would turn the counting of mailboxes back ON. I clicked that link as well and it did fix that rule toggling (on, off, on, off) issue. That’s all I did, nothing more. Last evening I then logged off the computer as I do each evening. This morning, I logged on, opened mail and it now opens in one second, two tops… I guarantee it has NOT done that for the past couple of months or so as I had gotten used to clicking on Mail and then going to another screen to do something else to wait for mail to eventually load and tell me about new mail. But now, one second… or two… Pretty interesting… I still have the issue where SpamSieve is not quitting even though Mail is quit and I have checked more than once that the SpamSieve preference is set to shut SpamSieve when mail goes down. Small issue though. Just one I happened to notice while messing with other stuff.

So, I’m just reporting. At least for now, Mail is back and fast as ever… I’ve even logged off a couple times and came back on… Same… I’ve also manually quit Mail with SpamSieve still running… Restarted Mail. One second… And manually shut down both Mail and Spamsieve… Restarted Mail. Both launch with a second or two… Interesting…

That’s great to hear. Since you ended up not changing anything with SpamSieve, perhaps it wasn’t related to the slowness after all.

I mentioned what to do about that in the other thread.