Fix some errors and line endings in email templates.