Sync_error with a new Gmail account

Description

After opening Mailspring, the account I added few days ago always failed to sync. The retry button randomly succeeds or fails. I have tried to reconnect in the setting. The problem temporarily disappears but comes back the next day. The problem does not occur for my other Gmail accounts. Mailspring seems to be able to receive my emails for the problematic account fine.

To Reproduce…

Steps to reproduce the behavior:

  1. Open Mailspring

Expected Behavior

No error popups

Screenshot

image

Setup

  • OS and Version: Windows 10
    • Installation Method: installer
  • Mailspring Version: 1.10.8-8ea2a61f

Additional Context

Mailspring Version: 1.10.8-8ea2a61f
Platform: win32
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com
--------------------------------------------
19408 [2023-02-15 23:56:14.880] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 1, Heavy: false
19408 [2023-02-15 23:56:15.445] [background] [info] - [Gmail]/Spam: remote=0, local=0, remoteUID=NSi52XcqwBtYimGgDL6gU4rR5KL18xuSkMv2qV8aq
19408 [2023-02-15 23:56:15.446] [background] [info] Sync loop deleting unlinked messages with phase 1.
19408 [2023-02-15 23:56:15.446] [background] [info] Sync loop complete.
19408 [2023-02-15 23:58:15.461] [background] [info] Syncing folder list...
19408 [2023-02-15 23:58:16.001] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 1 - 16, Heavy: false
19408 [2023-02-15 23:58:16.555] [background] [info] - [Gmail]/All Mail: remote=1, local=1, remoteUID=bfk93yZgZCowH8197BHX3w6W1N26aCrS1MEh25UW3
19408 [2023-02-15 23:58:16.825] [background] [info] syncFolderUIDRange for [Gmail]/Trash, UIDs: 1 - 15, Heavy: false
19408 [2023-02-15 23:58:17.378] [background] [info] - [Gmail]/Trash: remote=14, local=14, remoteUID=GS1nraHv6YBkYxmk8oQH8BfnzW49m5WTfuboMJc1w
19408 [2023-02-15 23:58:17.648] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 1, Heavy: false
19408 [2023-02-15 23:58:18.190] [background] [info] - [Gmail]/Spam: remote=0, local=0, remoteUID=NSi52XcqwBtYimGgDL6gU4rR5KL18xuSkMv2qV8aq
19408 [2023-02-15 23:58:18.191] [background] [info] Sync loop deleting unlinked messages with phase 2.
19408 [2023-02-15 23:58:18.191] [background] [info] Sync loop complete.
19408 [2023-02-15 23:58:56.922] [metadata] [info] Metadata delta stream closed.
19408 [2023-02-15 23:58:56.923] [metadata] [info] Metadata delta stream starting...
19408 [2023-02-16 00:00:16.779] [foreground] [info] Idle exited with code 0
19408 [2023-02-16 00:00:17.056] [foreground] [info] syncFolderChangesViaCondstore - [Gmail]/All Mail: modseq 3495 to 3495, uidnext 16 to 16
19408 [2023-02-16 00:00:17.056] [foreground] [info] Idling on folder [Gmail]/All Mail
19408 [2023-02-16 00:00:18.204] [background] [info] Syncing folder list...
19408 [2023-02-16 00:00:18.747] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 1 - 16, Heavy: false
19408 [2023-02-16 00:00:19.313] [background] [info] - [Gmail]/All Mail: remote=1, local=1, remoteUID=bfk93yZgZCowH8197BHX3w6W1N26aCrS1MEh25UW3
19408 [2023-02-16 00:00:19.582] [background] [info] syncFolderUIDRange for [Gmail]/Trash, UIDs: 1 - 15, Heavy: false
19408 [2023-02-16 00:00:20.138] [background] [info] - [Gmail]/Trash: remote=14, local=14, remoteUID=GS1nraHv6YBkYxmk8oQH8BfnzW49m5WTfuboMJc1w
19408 [2023-02-16 00:00:20.410] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 1, Heavy: false
19408 [2023-02-16 00:00:20.953] [background] [info] - [Gmail]/Spam: remote=0, local=0, remoteUID=NSi52XcqwBtYimGgDL6gU4rR5KL18xuSkMv2qV8aq
19408 [2023-02-16 00:00:20.954] [background] [info] Sync loop deleting unlinked messages with phase 1.
19408 [2023-02-16 00:00:20.954] [background] [info] Sync loop complete.