em Client 11 interrupts my work every effing minute!

I am really trying to keep my calm, but I do wonder why this wasn’t caught before release.
em Client is demanding attention every minute on may mac OS 27:

  • When the main window is open in the background (hidden begind other windows) then every minute em Client brings it to the front.
  • I tried Quitting em Client completely, but then it just restarts and again brings its window to the front.WTH?
  • The best I can currently do is to minimize the em Client window. Then all that happens is that the em Client dock icon is annoyingly jumping up and down every minute.

Please, please, fix this!

Here’s claude’a analysis:

What’s happening

  • eM Client’s “start at login” setting works through a LaunchAgent at ~/Library/LaunchAgents/com.emclient.mail.client.plist (created Oct 8). That agent starts the full app.
  • The app registers a recurring background task with macOS, com.emclient.mail.client.SpotlightIndexer (first run after 40 s, then roughly every 60 s). The task belongs to that LaunchAgent, so each time it is due, launchd starts the whole eM Client app again.
  • launchd says this has happened 117 times in this login session, each time because of that background task. Right now a second copy (PID 5525, started 10:57) is running next to your normal one (PID 1817), and another copy ran at 10:34.
  • Each new copy finds the running one and makes it come to the front. If the window is minimized, macOS bounces the Dock icon instead. If you quit eM Client, the next copy simply opens it again. That’s why there’s no new mail and no badge: it’s Spotlight indexing being started as the full app. It’s probably a bug in a recent update, which fits your guess.

Fix now (this doesn’t touch your mail or settings):

launchctl bootout gui/$(id -u)/com.emclient.mail.client
launchctl disable gui/$(id -u)/com.emclient.mail.client

  • bootout unloads the agent and its background task, and stops the extra copy (PID 5525). Your normal window (PID 1817) runs as a separate job and stays open.
  • disable keeps launchd from loading the agent again at your next login, even if eM Client writes the file again.
  • The catch: eM Client will no longer start at login on its own. If you want that, add it under System Settings › General › Login Items. Starting it from there doesn’t use the agent, so the background task loop can’t come back.
  • To undo: launchctl enable gui/$(id -u)/com.emclient.mail.client, then log out and back in.

Worth reporting to eM Client support: version 11.0.1267 on macOS 27 starts the full GUI app from its “start at login” LaunchAgent every time its SpotlightIndexer task runs.

It does not here: eM Client 11.0.1267, macOS 27.2

Do you have Settings > General > Run on system startup checked?
Maybe that causes it?

“Settings > General > Run on system startup” is NOT checked here.

I have the same issue with 11.0.1267

We started looking into it, but we never hit this during the release testing. The “Run on system startup” setting may play into it, but turning it off may not have immediate effect and may need a sign out to take effect. The launchctl workaround should likely work.

Hi @eekboom,
Thank you for reporting. We are working on a fix and it should be included in the next update.