Moved to using a configuration file and the email package