Mark subjects of emails as html_safe

Fixes #859