add a mailer, redo the db a bit