Generate PDF from HTML, send Report. some other fixes.