Setting up emailer and logger for single instance on app object.