The email is decrypted by avast and scanned.
It makes no sense scan an encrypted email (SSL) connection. It’s encrypted.