Protonmail problem with mailsync process

Hi,

currently my Proton mailbox is no longer synchronized.

going to recover the logs I think the problem is related to this error during the sync.

59936 [2022-08-01 09:13:15.564] [main] [info] Identity created at 1659040216 - using ID Schema 1
59936 [2022-08-01 09:13:15.565] [main] [info] ------------- Starting Sync (raffaele@donadono.com) ---------------
59936 [2022-08-01 09:13:15.571] [metadata] [info] Metadata delta stream starting...
59936 [2022-08-01 09:13:16.113] [metadata] [info] Metadata delta stream closed.
59936 [2022-08-01 09:13:16.673] [metadata] [info] Will retry in 3 sec.
59936 [2022-08-01 09:13:17.575] [background] [info] Marking all folders as `busy`
59936 [2022-08-01 09:13:17.576] [background] [info] Syncing folder list...
59936 [2022-08-01 09:13:17.724] [background] [error] Could not create Mailspring container folder: Mailspring. ErrorSubscribe
59936 [2022-08-01 09:13:17.897] [background] [error] Could not create required Mailspring folder: Mailspring/Snoozed. ErrorSubscribe
59936 [2022-08-01 09:13:17.898] [background] [critical] 
***
*** Mailspring Sync 
*** A C++ exception occurred during program execution: 
*** UNIQUE constraint failed: Folder.id
***

59936 [2022-08-01 09:13:18.414] [background] [critical] *** Stack trace (line numbers are approximate):
*** in mailsync     exceptions::logCurrentExceptionWithStackTrace()
*** in mailsync     runBackgroundSyncWorker()
*** in mailsync     main::$_6::operator()() const
*** in mailsync     void* __thread_proxy(void*)
*** 0x7ff80bbfcf6b  thread_start()
***

in fact, all the folders remain in scanning but it never ends the operation.

is there anything i can do to fix it or do i need a code-side fix?

Thanks,
Raffaele.