Better line break and HTML entities handling in form emails

Support line breaks in HTML email (so that they don't collapse when
rendered) and HTML entities in plain text email (unescape them to make
them legible).