Keep setting up needed tables in rails and integrate imap code from experiements into rails #auto