https://ideatrash.net/2012/01/tweaking-offlineimap-and-gmai.html
Tweaking OfflineImap and Gmail