Switch to offlineimap and msmtp.