fix with mail content for text/html content-type