Added table-formatted/HTML email support and the option to add additional diagnostic info to the end of the email