slight tweak to mailer settings due to 'bad gateway' error.