Issuse syncing Institutional office365 account routed through davmail

So I’m trying to connect an office365 account to mailspring. I know that the email server needs to be imap and smtp. Since my institution has disallowed the use of imap for email, I’ve routed my email through davmail. I have made it through the initial account addition process, but I’m getting issues syncing.

    Mailspring Version: 1.8.0-8983dca2
Platform: linux
Account State: sync_error
Account Provider: imap
IMAP Server: 127.0.0.1
SMTP Server: 127.0.0.1
--------------------------------------------
139338 [2021-04-07 14:23:45.599] [background] [info] Syncing folder list...
139338 [2021-04-07 14:23:46.417] [background] [critical] 
***
*** Mailspring Sync 
*** A C++ exception occurred during program execution: 
*** UNIQUE constraint failed: Folder.id
***

139338 [2021-04-07 14:23:46.441] [background] [critical] *** Stack trace (line numbers are approximate):
*** ??:?        exceptions::logCurrentExceptionWithStackTrace()
*** ??:?        runBackgroundSyncWorker()
*** main.cpp:?  main::{lambda()#3}::operator()() const
*** main.cpp:?  _Bind_simple::operator()()
*** main.cpp:?  thread::_Impl::_M_run()
*** thread.o:?  execute_native_thread_routine()
***

139381 [2021-04-07 14:23:46.688] [main] [info] Identity created at 1617834300 - using ID Schema 1
139381 [2021-04-07 14:23:46.689] [main] [info] ------------- Starting Sync (zwells@email.sc.edu) ---------------
139381 [2021-04-07 14:23:46.692] [metadata] [info] Metadata delta stream starting...
139381 [2021-04-07 14:23:49.693] [background] [info] Marking all folders as `busy`
139381 [2021-04-07 14:23:49.693] [background] [info] Syncing folder list...
139381 [2021-04-07 14:23:50.481] [background] [critical] 
***
*** Mailspring Sync 
*** A C++ exception occurred during program execution: 
*** UNIQUE constraint failed: Folder.id
***

139381 [2021-04-07 14:23:50.514] [background] [critical] *** Stack trace (line numbers are approximate):
*** ??:?        exceptions::logCurrentExceptionWithStackTrace()
*** ??:?        runBackgroundSyncWorker()
*** main.cpp:?  main::{lambda()#3}::operator()() const
*** main.cpp:?  _Bind_simple::operator()()
*** main.cpp:?  thread::_Impl::_M_run()
*** thread.o:?  execute_native_thread_routine()
***

139407 [2021-04-07 14:23:50.783] [main] [info] Identity created at 1617834300 - using ID Schema 1
139407 [2021-04-07 14:23:50.784] [main] [info] ------------- Starting Sync (zwells@email.sc.edu) ---------------
139407 [2021-04-07 14:23:50.787] [metadata] [info] Metadata delta stream starting...
139407 [2021-04-07 14:23:51.491] [main] [info] Waking all workers...
139407 [2021-04-07 14:23:51.491] [main] [info] Metadata expiration 0 is further in future than wake time 0
139407 [2021-04-07 14:23:51.491] [background] [info] Marking all folders as `busy`
139407 [2021-04-07 14:23:51.491] [background] [info] Syncing folder list...
139407 [2021-04-07 14:23:52.357] [background] [critical] 
***
*** Mailspring Sync 
*** A C++ exception occurred during program execution: 
*** UNIQUE constraint failed: Folder.id
***

139407 [2021-04-07 14:23:52.383] [background] [critical] *** Stack trace (line numbers are approximate):
*** ??:?        exceptions::logCurrentExceptionWithStackTrace()
*** ??:?        runBackgroundSyncWorker()
*** main.cpp:?  main::{lambda()#3}::operator()() const
*** main.cpp:?  _Bind_simple::operator()()
*** main.cpp:?  thread::_Impl::_M_run()
*** thread.o:?  execute_native_thread_routine()
***

Now the question is, is this issue on the email client side or the email server side? What additional information should I provide? Any ideas on what the issue is?