Export emails from the GMAIL service using python and IMAP. Optionally save gmails to a local sqlite db for faster refresh.