fixes #2697 - HostMailer summary is broken
(cherry picked from commit 8e851ef524a3348c1587e53e3c2da616fdbe1fdc)