Update the configuration of the production mailer

This change allows the mailer host to be specified by a ENV variable so that we can have a staging server hosted at a different URL but have it match production, but where emails work on the staging server.