an item with the same key has already been added?????

Email accounts won’t sync gives me the error:

An error occurred.
An item with the same key has already been added.

Can’t get it to resync without deleting the entire database… Then it won’t sync after its initial synchronisation.

Any help would be very much appreciated.

Log file is this:

18:56:44 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
18:56:44 [email protected] [Google Contacts]  Synchronizing folder list
18:56:44 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
18:56:44 [email protected] [Google Contacts]  Synchronizing folder list
18:56:44 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
18:56:44 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
18:56:44 [email protected] [IMAP]  Synchronizing subfolders: Done
18:56:44 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/INBOX
18:56:45 [email protected] [IMAP]  Synchronizing subfolders: Done
18:56:45 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
18:56:45 [email protected] [IMAP]  Synchronizing subfolders: Done
18:56:47 [email protected] [IMAP]  Synchronizing subfolders: Done
18:56:47 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/General
18:56:47   System.ArgumentException: An item with the same key has already been added.
18:56:47    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
18:56:47    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) 18:56:47    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) 18:56:47    at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
18:56:47    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
18:56:47    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
18:56:47    at MailClient.Commands.Command.Process(WorkerStatus status)
18:56:48 [email protected] [Google Calendar]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
19:03:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:03:56 [email protected] [Google Contacts]  Synchronizing folder list
19:03:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:03:56 [email protected] [Google Contacts]  Synchronizing folder list
19:03:56 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:03:56 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:03:56 [email protected] [IMAP]  Synchronizing subfolders: Done
19:03:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/INBOX
19:03:57 [email protected] [IMAP]  Synchronizing subfolders: Done
19:03:57 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
19:03:57 [email protected] [IMAP]  Synchronizing subfolders: Done
19:03:59 [email protected] [IMAP]  Synchronizing subfolders: Done
19:03:59 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/General
19:03:59   System.ArgumentException: An item with the same key has already been added.
19:03:59    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
19:03:59    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) 19:03:59    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) 19:03:59    at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
19:03:59    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
19:03:59    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
19:03:59    at MailClient.Commands.Command.Process(WorkerStatus status)
19:13:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:13:56 [email protected] [Google Contacts]  Synchronizing folder list
19:13:56 [email protected] [Google Calendar]  Synchronizing folder list
19:13:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:13:56 [email protected] [Google Contacts]  Synchronizing folder list
19:13:56 [email protected] [Google Calendar]  Synchronizing folder list
19:13:56 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:13:56 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:13:56 [email protected] [Google Calendar]  Synchronizing folder list
19:13:56 [email protected] [Google Calendar]  Synchronizing folder list
19:13:56 [email protected] [Google Calendar]  Synchronizing folder ‘[email protected]/[email protected]/’
19:13:56 [email protected] [Google Calendar]  Synchronizing folder ‘[email protected]/[email protected]/’
19:13:56 [email protected] [IMAP]  Synchronizing subfolders: Done
19:13:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/INBOX
19:13:57 [email protected] [IMAP]  Synchronizing subfolders: Done
19:13:57 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
19:13:57 [email protected] [IMAP]  Synchronizing subfolders: Done
19:13:59 [email protected] [IMAP]  Synchronizing subfolders: Done
19:13:59 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/General
19:13:59   System.ArgumentException: An item with the same key has already been added.
19:13:59    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
19:13:59    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) 19:13:59    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) 19:13:59    at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
19:13:59    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
19:13:59    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
19:13:59    at MailClient.Commands.Command.Process(WorkerStatus status)
19:23:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:23:56 [email protected] [Google Contacts]  Synchronizing folder list
19:23:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:23:56 [email protected] [Google Contacts]  Synchronizing folder list
19:23:56 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:23:56 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:23:56 [email protected] [IMAP]  Synchronizing subfolders: Done
19:23:56 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/INBOX
19:23:57 [email protected] [IMAP]  Synchronizing subfolders: Done
19:23:57 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
19:23:57 [email protected] [IMAP]  Synchronizing subfolders: Done
19:23:59 [email protected] [IMAP]  Synchronizing subfolders: Done
19:23:59 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/General
19:23:59   System.ArgumentException: An item with the same key has already been added.
19:23:59    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
19:23:59    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) 19:23:59    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) 19:23:59    at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
19:23:59    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
19:23:59    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
19:23:59    at MailClient.Commands.Command.Process(WorkerStatus status)
19:34:01 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:34:01 [email protected] [Google Contacts]  Synchronizing folder list
19:34:01 [email protected] [Google Calendar]  Synchronizing folder list
19:34:01 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:34:01 [email protected] [Google Contacts]  Synchronizing folder list
19:34:01 [email protected] [Google Calendar]  Synchronizing folder list
19:34:01 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:34:01 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:34:01 [email protected] [Google Calendar]  Synchronizing folder list
19:34:01 [email protected] [Google Calendar]  Synchronizing folder list
19:34:02 [email protected] [Google Calendar]  Synchronizing folder ‘[email protected]/[email protected]/’
19:34:02 [email protected] [Google Calendar]  Synchronizing folder ‘[email protected]/[email protected]/’
19:34:02 [email protected] [IMAP]  Synchronizing subfolders: Done
19:34:02 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/INBOX
19:34:02 [email protected] [IMAP]  Synchronizing subfolders: Done
19:34:02 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
19:34:02 [email protected] [IMAP]  Synchronizing subfolders: Done
19:34:05 [email protected] [IMAP]  Synchronizing subfolders: Done
19:34:05 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/General
19:34:05   System.ArgumentException: An item with the same key has already been added.
19:34:05    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
19:34:05    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) 19:34:05    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) 19:34:05    at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
19:34:05    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
19:34:05    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
19:34:05    at MailClient.Commands.Command.Process(WorkerStatus status)
19:44:01 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:44:01 [email protected] [Google Contacts]  Synchronizing folder list
19:44:01 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
19:44:01 [email protected] [Google Contacts]  Synchronizing folder list
19:44:01 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:44:01 [email protected] [Google Contacts]  Synchronizing folder ‘[email protected]/Contacts/’
19:44:02 [email protected] [IMAP]  Synchronizing subfolders: Done
19:44:02 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/INBOX
19:44:02 [email protected] [IMAP]  Synchronizing subfolders: Done
19:44:02 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
19:44:02 [email protected] [IMAP]  Synchronizing subfolders: Done
19:44:05 [email protected] [IMAP]  Synchronizing subfolders: Done
19:44:05 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/General
19:44:05   System.ArgumentException: An item with the same key has already been added.
19:44:05    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
19:44:05    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) 19:44:05    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) 19:44:05    at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
19:44:05    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
19:44:05    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
19:44:05    at MailClient.Commands.Command.Process(WorkerStatus status)