Implemented message rendering for the ImapClientDemo sample