Add getPlainTextMessage and getHtmlMessage methods