Fix broken inline images when graphite returns error

Checks graphite reply for html opening tag. If found treat the output as html
and include it into the email body without encoding in base64.

Fixes #1