Added a safeMode with a stub transport for emailing.

This allows us to do dry runs before we send emails for reals.