A system for importing emails from IMAP, cleaning them up, and inserting them into a MySQL database