Move message preview generation into IssueMessage.