More info.
I think it is the avast system that is causing the problem with my outlook IMAP.
I notice that, if someone sends me a text message to my IMAP account, I get the avast clean tag. If they send me a HTML, I see the message in text only, and I do not get a clean tag.
Hope this helps.