I have been using avast for a while and have no problem reading my IMAP account in HTML.
Try checking your account settings or check with the IMAP account.

Good luck, I tried AVG and it was a pain to set up e-mail protection, I never could get it to work properly.