Use MAILER_ENV to define where emails come from

Make it easier to work out which emails need attention if something
looks to be broken.