Fix for the crons not sending out emails