fixes #8233 - better HTML formatting for summary email

Hope the following change is what you meant