Issue with latest beta and Google Calendar

Just upgraded to the latest beta version 10.0.2622.0, and now whenever I sync my Google Workspace email, I get the following log (nothing under Errors, but the account shows the red exclamation mark next to it, and it doesn’t seem to keep syncing until I manually sync again).

I noticed a couple of messages relating to Google Calendar, so I tried to disable that from the account settings so all I’m doing is syncing emails now, but it still fails. Log message below, with email address redacted. Let me know if there’s anything else I can provide to help!

eM Client 10.0.2622-beta+4be24cf3c4 (Windows)
<<additional log lines snipped>>
8:58:05 pm [email protected] Google Contacts Synchronizing folder '/All Contacts'
8:58:05 pm [email protected] Google Settings Synchronizing tags
8:58:05 pm [email protected] Google Calendar Synchronizing folder list
8:58:05 pm [email protected] IMAP Synchronizing folder '/All Mail'
8:58:06 pm [email protected] Google Contacts Synchronizing folder '/Directory'
8:58:06 pm [email protected] Google Contacts Synchronizing folder list
8:58:07 pm [email protected] Google Contacts Synchronizing folder '/Other Contacts'
8:58:07 pm [email protected] Google Calendar Synchronizing folder '/Calendar'
8:58:14 pm [email protected] [IMAP] System.InvalidOperationException: Sequence contains no elements
              at System.Linq.ThrowHelper.ThrowNoElementsException()
              at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
              at MailClient.Storage.Mail.Data.DbMailRepository.DbConversationRepository.MailRepository_RemovingItems(Object sender, ItemEventArgs`1 e, Func`2 getConversationId, Boolean clearConversationId)
              at MailClient.Storage.Mail.Data.DbMailRepository.DbConversationRepository.MailRepository_RemovingItems(Object sender, ItemEventArgs`1 e)
              at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
              at MailClient.Storage.Data.DbRepository`1.RemoveByItems[ST](Object senderContext, IEnumerable`1 items)
              at MailClient.Storage.Data.DbRepository`1.Remove[ST](Object senderContext, IEnumerable`1 items)
              at MailClient.RepositoryExtensions.Remove[T,ST](IRepository`1 repository, IEnumerable`1 items)
              at MailClient.Protocols.Common.ItemSynchronizeContext`2.RemoveItems[TUid,TVid](IReadOnlyCollection`1 obsoleteItems, Dictionary`2 uniqueIdToVersionId, Dictionary`2 uniqueIdToOid)
              at MailClient.Protocols.Common.ItemSynchronizeContext`2.<>c__DisplayClass20_0`3.<Synchronize>g__FlushItems|1(Int32 threshold)
              at MailClient.Protocols.Common.ItemSynchronizeContext`2.Synchronize[T,TUid,TVid](SynchronizationType synchronizationType, IEnumerable`1 items, Func`2 getUniqueId, Func`2 getVersionId, Func`3 hasChanged, Func`2 isDeleted, Func`2 convertItems, Action`2 updateItem)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.WriteSyncItemsToDb(CancellationToken& cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.DeleteExpungedMessages(CancellationToken& cancellationToken, Boolean fromInterruption)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.ProcessPriorityUpdatesAsync(CancellationToken& cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.UpdateIdToUidSearch(CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.SynchronizeFolder(Dictionary`2 infoOldFlags, UInt32 serverMessageCount, UInt32 newMessagesTotal, UInt32 uidNext, CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.ExecuteInternalAsync(CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.ExecuteAsync(CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext`1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext`1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.ImapMailSynchronizer.Synchronize(IItemSynchronizeContext`1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
              at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass40_2.<EnqueueSynchronize>b__6(WorkerStatus status, CancellationToken ct)
              at MailClient.Protocols.Imap.ImapActionCommand.<>c__DisplayClass11_0.<.ctor>b__0(WorkerStatus ws, CancellationToken ct)
              at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status)
              at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status)
              at MailClient.Commands.Command.Process(WorkerStatus status)
           --- End of stack trace from previous location ---
              at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
              at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<<SynchronizeAsync>b__0>d.MoveNext()
             IMAP_SERVER_TYPE = Gmail
             RunInPlace = False
             EnqueuedStackTrace =
                  at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass40_1.<EnqueueSynchronize>g__RunSynchronize|2()
                  at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass40_0.<EnqueueSynchronize>b__0()
                  at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
                  at MailClient.Protocols.Common.ItemSynchronizer`2.EnqueueSynchronize(Folder folder, Boolean fast, CancellationToken cancellationToken, Action`1 completed)
                  at MailClient.Protocols.Common.ItemSynchronizer`2.Synchronize(Folder folder, SynchronizationPriority priority, Action`1 completed)
                  at MailClient.Storage.Application.ItemCollection`2.Synchronize(SynchronizationPriority priority, Action`1 completed, Boolean fromUI)
                  at MailClient.Storage.Application.ItemCollection`2.SynchronizeAsync(Boolean forced, Boolean fromUI)
                  at MailClient.Storage.Application.Folder.SynchronizeAsync(Boolean forced, Boolean fromUI)
                  at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
                  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
                  at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
                  at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<<SynchronizeAsync>b__0>d.MoveNext()
                  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
                  at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<SynchronizeAsync>b__0()
                  at System.Threading.Tasks.Task`1.InnerInvoke()
                  at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
                  at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                  at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
                  at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread threadPoolThread)
                  at System.Threading.ThreadPoolWorkQueue.Dispatch()
                  at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
                  at System.Threading.Thread.StartCallback()
             GUIStatus_Exception_Reported = True
8:59:19 pm [email protected] IMAP Synchronizing folder '/All Mail'
8:59:19 pm [email protected] Google Contacts Synchronizing folder list
8:59:19 pm [email protected] [Google Settings] MailClient.Accounts.AuthenticationAbortedException: Authentication aborted
              at MailClient.Protocols.Gdata.GenericGapiCommand.Execute(WorkerStatus status)
              at MailClient.Commands.Command.Process(WorkerStatus status)
             RunInPlace = False
             EnqueuedStackTrace =
                  at MailClient.Protocols.Common.RequestIssuer.RunRequest[T](Func`3 action, CancellationToken cancellationToken, OperationPriority priority, String errorFormat, Object[] errorParams)
                  at MailClient.Protocols.Gdata.SettingsSynchronizer.GetAliasesAsync(CancellationToken cancellationToken1)
                  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
                  at MailClient.Protocols.Gdata.SettingsSynchronizer.GetAliasesAsync(CancellationToken cancellationToken1)
                  at MailClient.Protocols.Gdata.GdataSettingsAccount.<>c__DisplayClass37_0.<<LoadAliases>b__0>d.MoveNext()
                  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
                  at MailClient.Protocols.Gdata.GdataSettingsAccount.<>c__DisplayClass37_0.<LoadAliases>b__0()
                  at System.Threading.Tasks.Task`1.InnerInvoke()
                  at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
                  at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                  at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
                  at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread threadPoolThread)
                  at System.Threading.ThreadPoolWorkQueue.Dispatch()
                  at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
                  at System.Threading.Thread.StartCallback()
             GUIStatus_Exception_Reported = True
8:59:19 pm [email protected] Google Contacts Synchronizing folder '/All Contacts'
8:59:20 pm [email protected] Google Contacts Synchronizing folder '/Directory'
8:59:20 pm [email protected] Google Contacts Synchronizing folder '/Other Contacts'
8:59:20 pm [email protected] Google Contacts Synchronizing folder list
8:59:25 pm [email protected] [IMAP] System.InvalidOperationException: Sequence contains no elements
              at System.Linq.ThrowHelper.ThrowNoElementsException()
              at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
              at MailClient.Storage.Mail.Data.DbMailRepository.DbConversationRepository.MailRepository_RemovingItems(Object sender, ItemEventArgs`1 e, Func`2 getConversationId, Boolean clearConversationId)
              at MailClient.Storage.Mail.Data.DbMailRepository.DbConversationRepository.MailRepository_RemovingItems(Object sender, ItemEventArgs`1 e)
              at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
              at MailClient.Storage.Data.DbRepository`1.RemoveByItems[ST](Object senderContext, IEnumerable`1 items)
              at MailClient.Storage.Data.DbRepository`1.Remove[ST](Object senderContext, IEnumerable`1 items)
              at MailClient.RepositoryExtensions.Remove[T,ST](IRepository`1 repository, IEnumerable`1 items)
              at MailClient.Protocols.Common.ItemSynchronizeContext`2.RemoveItems[TUid,TVid](IReadOnlyCollection`1 obsoleteItems, Dictionary`2 uniqueIdToVersionId, Dictionary`2 uniqueIdToOid)
              at MailClient.Protocols.Common.ItemSynchronizeContext`2.<>c__DisplayClass20_0`3.<Synchronize>g__FlushItems|1(Int32 threshold)
              at MailClient.Protocols.Common.ItemSynchronizeContext`2.Synchronize[T,TUid,TVid](SynchronizationType synchronizationType, IEnumerable`1 items, Func`2 getUniqueId, Func`2 getVersionId, Func`3 hasChanged, Func`2 isDeleted, Func`2 convertItems, Action`2 updateItem)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.WriteSyncItemsToDb(CancellationToken& cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.DeleteExpungedMessages(CancellationToken& cancellationToken, Boolean fromInterruption)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.ProcessPriorityUpdatesAsync(CancellationToken& cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.UpdateIdToUidSearch(CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.SynchronizeFolder(Dictionary`2 infoOldFlags, UInt32 serverMessageCount, UInt32 newMessagesTotal, UInt32 uidNext, CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.ExecuteInternalAsync(CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.ExecuteAsync(CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext`1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext`1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken)
              at MailClient.Protocols.Imap.ImapMailSynchronizer.Synchronize(IItemSynchronizeContext`1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
              at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass40_2.<EnqueueSynchronize>b__6(WorkerStatus status, CancellationToken ct)
              at MailClient.Protocols.Imap.ImapActionCommand.<>c__DisplayClass11_0.<.ctor>b__0(WorkerStatus ws, CancellationToken ct)
              at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status)
              at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status)
              at MailClient.Commands.Command.Process(WorkerStatus status)
           --- End of stack trace from previous location ---
              at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
              at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<<SynchronizeAsync>b__0>d.MoveNext()
             IMAP_SERVER_TYPE = Gmail
             RunInPlace = False
             EnqueuedStackTrace =
                  at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass40_1.<EnqueueSynchronize>g__RunSynchronize|2()
                  at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass40_0.<EnqueueSynchronize>b__0()
                  at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
                  at MailClient.Protocols.Common.ItemSynchronizer`2.EnqueueSynchronize(Folder folder, Boolean fast, CancellationToken cancellationToken, Action`1 completed)
                  at MailClient.Protocols.Common.ItemSynchronizer`2.Synchronize(Folder folder, SynchronizationPriority priority, Action`1 completed)
                  at MailClient.Storage.Application.ItemCollection`2.Synchronize(SynchronizationPriority priority, Action`1 completed, Boolean fromUI)
                  at MailClient.Storage.Application.ItemCollection`2.SynchronizeAsync(Boolean forced, Boolean fromUI)
                  at MailClient.Storage.Application.Folder.SynchronizeAsync(Boolean forced, Boolean fromUI)
                  at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
                  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
                  at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
                  at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<<SynchronizeAsync>b__0>d.MoveNext()
                  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
                  at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<SynchronizeAsync>b__0()
                  at System.Threading.Tasks.Task`1.InnerInvoke()
                  at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
                  at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                  at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
                  at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread threadPoolThread)
                  at System.Threading.ThreadPoolWorkQueue.Dispatch()
                  at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
                  at System.Threading.Thread.StartCallback()
             GUIStatus_Exception_Reported = True

I don’t see any calendar errors in your log, but the IMAP errors look like a database issue.

Please close eM Client and open a Windows Command Prompt. Not a powershell, but a command prompt.

Paste in this command including the leading "

"C:\Program Files (x86)\eM Client\MailClient.exe" /dbrepair

Then hit Enter.

When that is done, restart eM Client.