feature(discussions): Added email SMTP headers for better thread grouping.

Additionally changed message subjects for group discussions to make Gmail happy.

Fixes #6894
fix(notifications): Corrected html entities handling for email subject and body

Fixes #6905