yup davidr is right…avast can’t setup thunderbird automatically yet
please see this faq to learn how to configure manually