Obviously you’re found what Avast adds to the headers of mail that it scans – and it sounds like you’ve also turned on the “add note” option.
You may also have noticed that an additional blue toolbar icon appears while it’s scanning incoming mail – I can’t remember whether that’s also true for outgoing (if you also check outgoing), but it probably does. That’ll give you one more indication that it’s scanning properly.