I'm using the following command to email a backup log file (backup using Amazon AWS ec2 cli sync):
Send-MailMessage -From "firstname.lastname@example.org" -to "email@example.com" -Subject "Backup Log for helpdesk on $date" -Body (Get-Content $log) -Smtpserver "mailserver.com" -port "25" -attachment $log
The email is pretty basic. It displays in basic text format. I'd like the results of this backup to display in HTML with a header saying something like "Helpdesk backup results for $date" and then the results below that.