change environment settings for mailer and adding host