allow user to set isHtml for mail message