add support for muliple content types

now it's possible to see html emails and other formats