to_mime method. Better python-postmark compat