With the older versions of avast you would of had to disable the SSL security inside of Thunderbird for avast to scan your mail, this is not necessary with the new avast 8 versions as it will scan SSL, so the SSL security adjustments you made originally inside of Thunderbird for avast would now need to be set back to there normal settings and your mail will function again.