Updated config to use environment variables for mail