Abstract plaintext display to a new function

We're going to need this in at least one other place when we start
sending emails from the plugin, so might as well keep the plaintext
display abstracted