USe a new version of offline imap, with my customizations