fixed bug when not displaying email with text only