Kept Message-ID as field
Added support for getting messages as text from html, incl. codec detection