added safety checks to scheduled email methods in case heroku scheduler fails