fixes #4669 - HostMailer summary method refers to undefined variable