Avast had some problems interacting with Thunderbird. The solution will be found here:

http://forum.avast.com/index.php?topic=118325.0