Fixing email to use text/html mime