Fixed reporting of success and error reports in emails