emonIMAP is a tool for collection emails in an IMAP mailbox, cleaning them up, and inserting them into a database.