Love MailSpring. But it keeps Retrying to connect even though it shouldn't

Problem

New to MailSpring, but I’m an email power-user. I’m switching to MailSpring because I’m tired of the buggy native OSX Mail app.

I have several google based accounts, and 1 Office 365 account. I probably have hundreds of thousands of messages altogether. It keeps complaining about sync issues but it’s unclear on which account. When I click on the orange box at the bottom left area of the screen - it doesn’t say which account. My connectivity is solid…

Context

Keeps complaining all the time. But there is nothing special with my accounts. Some are GMail based and some are Google Workspace based.

Email Provider

GMail/Google, Office 365

Setup

  • OS and Version: 15.4 (24E248)
    • Installation Method: download from your web site
  • Mailspring Version: Version 1.15.1 (1.15.1)

Screenshot 2025-04-09 at 8.41.58 PM

But when I look at my Accounts page under Prefs – there are no issues.

I looked at the json log file and don’t mind sharing it here, if it’ll help, but it contains all of my email addresses… Should I blank them out and then upload it here?

Had to reconnect several of the accounts today. Again – for no reason… It just keeps failing…

Mailspring Version: 1.15.1-cb02bf10
Platform: darwin
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com

51997 [2025-04-10 06:26:49.273] [metadata] [info] Metadata delta stream closed.
51997 [2025-04-10 06:26:50.152] [metadata] [critical]


*** Mailspring Sync
*** An exception occurred during program execution:
*** {“debuginfo”:“https://id.getmailspring.com/deltas/b2a37f28/streaming?p=darwin&ih=imap.gmail.com&cursor=0",“key”:"Stream error in the HTTP/2 framing layer”,“retryable”:false,“what”:“std::exception”}


51997 [2025-04-10 06:26:50.152] [metadata] [critical] *** Stack trace (line numbers are approximate):
*** in mailsync ValidateRequestResp(CURLcode, void*, string)
*** in mailsync MetadataWorker::fetchDeltasBlocking()
*** in mailsync MetadataWorker::run()
*** in mailsync main::$_4::operator()() const
*** in mailsync void* __thread_proxyabi:ne180100
*** 0x199790b80 thread_start()


52013 [2025-04-10 06:26:50.582] [main] [info] Identity created at 1744188024 - using ID Schema 1
52013 [2025-04-10 06:26:50.586] [main] [info] ------------- Starting Sync (REMOVED_MY_EMAIL_ADDRESS) ---------------
52013 [2025-04-10 06:26:50.587] [metadata] [info] Metadata delta stream starting…
52013 [2025-04-10 06:26:54.597] [background] [info] Fetching XOAuth2 access token (gmail) for b2a37f28
52013 [2025-04-10 06:26:54.732] [background] [info] Marking all folders as busy
52013 [2025-04-10 06:26:54.733] [background] [info] Syncing folder list…
52013 [2025-04-10 06:26:55.933] [background] [info] Syncing folder list…
52013 [2025-04-10 06:26:56.174] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 50932 - 51462, Heavy: false
52013 [2025-04-10 06:26:56.711] [background] [info] - [Gmail]/All Mail: remote=400, local=400, remoteUID=5TjNbQCYhic7cCLcNm1NKneSLLXKhVQAFtZXbTvEg
52013 [2025-04-10 06:26:56.882] [foreground] [info] syncFolderChangesViaCondstore - [Gmail]/All Mail: modseq 4619762 to 4619762, uidnext 51462 to 51462
52013 [2025-04-10 06:26:58.006] [background] [warning] [SLOW] Transaction=syncMessageBodies > 80ms (151ms, 151 waiting to aquire)
52013 [2025-04-10 06:26:58.006] [background] [info] Cleaning local cache and updating stats
52013 [2025-04-10 06:27:05.597] [metadataExpiration] [info] Scanning for expired metadata
52013 [2025-04-10 06:27:05.597] [metadataExpiration] [info] – Will wake for next expiration in 7200sec
52013 [2025-04-10 06:27:08.758] [foreground] [critical]


*** Mailspring Sync
*** A C++ exception occurred during program execution:
*** database is locked


52013 [2025-04-10 06:27:09.467] [foreground] [critical] *** Stack trace (line numbers are approximate):
*** in mailsync exceptions::logCurrentExceptionWithStackTrace()
*** in mailsync runForegroundSyncWorker()
*** in mailsync shared_ptr make_sharedabi:ne180100
*** in mailsync runBackgroundSyncWorker()::$_0::operator()() const
*** in mailsync decltype(declval()()) __invokeabi:ne180100
*** in mailsync void* __thread_proxyabi:ne180100
*** 0x199790b80 thread_start()