Made the config email the default email to send error messages to
Moved all configuration to config.js so that users do not have to make changes on the main app file