Better decision on HTML email

If the HTML ticket thread is enabled and the message is not explicitly
declared to be text, then assume it is an HTML message.