PDFs in emails; bug fixes and styling updates