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