Added ability for SMTP config settings to be selectively overridden by environment variables