bug 1138: changed rules for formatting the output of an email in the show history