fixes #4669 - HostMailer summary method refers to undefined variable
(cherry picked from commit 7966448c3cf6ae6194e6800e570668d3c65d2c25)
fixes #4669 - HostMailer summary method refers to undefined variable
(cherry picked from commit 7966448c3cf6ae6194e6800e570668d3c65d2c25)