Read what I said in my post, as I suspect that the localhost may have to do with this.

So that is a strong possibility if using the thunderbird webmail add-on (which I don’t so can’t check) as that must import and convert to regular email and why avast can’t insert the clean notes.