format log emails with HTML
fixes #38