fixes #8233 - better HTML formatting for summary email

extract + below