Allow to pass environment variable to configure SMTP settings.