Gmail, Duplicate Messages, All Mail and deletion problem

Geoffrey Ferrari at
Tue May 7 15:12:30 BST 2013

I use offlineimap 6.5.4 and I like it a lot - thanks everyone who makes
this software possible!

I currently have a big problem though. For whatever reason, after many
years my Gmail account contains around 1400 duplicate messages. I've been
trying to delete them but, no matter what I try, offlineimap eventually
downloads them again from Gmail.

My current setup is that I sync two folders from Gmail, the All Mail folder
and the Bin Folder.

So here are my questions:

1) What is the correct way to delete messages from the All Mail folder?
Should I just delete the local file in the All Mail folder? Move the local
file to the Bin folder? Leave the original local file in All but copy it to
the Bin folder? Something else?

2) Does anyone know why offlineimap keeps downloading duplicate messages
from Gmail rather than simply deleting them?

Many thanks for your help,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the OfflineIMAP-project mailing list