Question about --background on Linux

Hi,
I use Mailspring on my Linux work machine. I don’t have a desktop environment; instead I use Xmonad to manage windows. Mailspring is quite slow to sync my 5 email addresses. This is ok as long as it does it in the background. If I run mailsrping --background & on login, will this routinely download new mail such that, when I later run mailpsring, it’s already up-to-date?

If so, great - I’ll just do that. If not, I’ll have to program some custom Xmonad code to show and hide mailspring on demand.

Thanks

I am not sure, how Xmonad works. Usually mailspring --background will start Mailspring in the system tray. So when you open the Mailspring window, it should be synced already.