[Mailer] In development/test, log emails that would be sent.