better headers for text and html
Initial version for the mail parser