email reporting, loggins etc fixes