To get your Hotmail messages (brought into Thunderbird via the Webmail extensions) scanned by avast:

In the avast Internet Mail provider:

Click Customize > Redirect tab > Uncheck the “Ignore local communication” box > OK > OK