fixes #8348 - expose user variable to templates in group mail

It is useful to know which user the mail is going to inside the template when working with group mail