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 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/
18:56:44 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder list
18:56:44 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/
18:56:44 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder list
18:56:44 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder ‘home.pdonaghey@gmail.com/Contacts/’
18:56:44 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder ‘pdonaghey@googlemail.com/Contacts/’
18:56:44 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
18:56:44 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/INBOX
18:56:45 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
18:56:45 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/[Gmail]
18:56:45 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
18:56:47 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: Done
18:56:47 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/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 pdonaghey@googlemail.com [Google Calendar]  Uploading item(s) to folder ‘pdonaghey@googlemail.com/pdonaghey@googlemail.com/’
19:03:56 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/
19:03:56 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder list
19:03:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/
19:03:56 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder list
19:03:56 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder ‘home.pdonaghey@gmail.com/Contacts/’
19:03:56 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder ‘pdonaghey@googlemail.com/Contacts/’
19:03:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:03:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/INBOX
19:03:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:03:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/[Gmail]
19:03:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:03:59 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: Done
19:03:59 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/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 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/
19:13:56 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder list
19:13:56 pdonaghey@googlemail.com [Google Calendar]  Synchronizing folder list
19:13:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/
19:13:56 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder list
19:13:56 home.pdonaghey@gmail.com [Google Calendar]  Synchronizing folder list
19:13:56 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder ‘pdonaghey@googlemail.com/Contacts/’
19:13:56 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder ‘home.pdonaghey@gmail.com/Contacts/’
19:13:56 pdonaghey@googlemail.com [Google Calendar]  Synchronizing folder list
19:13:56 home.pdonaghey@gmail.com [Google Calendar]  Synchronizing folder list
19:13:56 pdonaghey@googlemail.com [Google Calendar]  Synchronizing folder ‘pdonaghey@googlemail.com/pdonaghey@googlemail.com/’
19:13:56 home.pdonaghey@gmail.com [Google Calendar]  Synchronizing folder ‘home.pdonaghey@gmail.com/home.pdonaghey@gmail.com/’
19:13:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:13:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/INBOX
19:13:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:13:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/[Gmail]
19:13:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:13:59 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: Done
19:13:59 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/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 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/
19:23:56 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder list
19:23:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/
19:23:56 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder list
19:23:56 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder ‘home.pdonaghey@gmail.com/Contacts/’
19:23:56 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder ‘pdonaghey@googlemail.com/Contacts/’
19:23:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:23:56 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/INBOX
19:23:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:23:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/[Gmail]
19:23:57 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:23:59 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: Done
19:23:59 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/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 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/
19:34:01 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder list
19:34:01 pdonaghey@googlemail.com [Google Calendar]  Synchronizing folder list
19:34:01 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/
19:34:01 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder list
19:34:01 home.pdonaghey@gmail.com [Google Calendar]  Synchronizing folder list
19:34:01 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder ‘pdonaghey@googlemail.com/Contacts/’
19:34:01 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder ‘home.pdonaghey@gmail.com/Contacts/’
19:34:01 home.pdonaghey@gmail.com [Google Calendar]  Synchronizing folder list
19:34:01 pdonaghey@googlemail.com [Google Calendar]  Synchronizing folder list
19:34:02 home.pdonaghey@gmail.com [Google Calendar]  Synchronizing folder ‘home.pdonaghey@gmail.com/home.pdonaghey@gmail.com/’
19:34:02 pdonaghey@googlemail.com [Google Calendar]  Synchronizing folder ‘pdonaghey@googlemail.com/pdonaghey@googlemail.com/’
19:34:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:34:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/INBOX
19:34:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:34:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/[Gmail]
19:34:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:34:05 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: Done
19:34:05 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/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 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/
19:44:01 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder list
19:44:01 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/
19:44:01 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder list
19:44:01 home.pdonaghey@gmail.com [Google Contacts]  Synchronizing folder ‘home.pdonaghey@gmail.com/Contacts/’
19:44:01 pdonaghey@googlemail.com [Google Contacts]  Synchronizing folder ‘pdonaghey@googlemail.com/Contacts/’
19:44:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:44:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/INBOX
19:44:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:44:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: For folder home.pdonaghey@gmail.com/[Gmail]
19:44:02 home.pdonaghey@gmail.com [IMAP]  Synchronizing subfolders: Done
19:44:05 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: Done
19:44:05 pdonaghey@googlemail.com [IMAP]  Synchronizing subfolders: For folder pdonaghey@googlemail.com/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)