thread: Fixup link URLs for emails

This patch adds an 'email' format to ThreadBody::display() which allows formatting the html/text bodies specifically for email. Previously, there was ambiguity between the html view (which included inline image support and clickable links) and the email view, which requires neither.

Fixes #926