add production mailer, improve tests, and hide inactive users