Email to Database to GUI working