Hi, I made a pull-request with an untested attempt to fix this. https://github.com/OfflineIMAP/offlineimap/pull/136 I will not have time to test it myself until next week or so, if meanwhile Ethan could do some testing on it, it would be awesome! Abdó.