updated: move environment variable for mail setup to configuration file.