using environment variables to configure mailer