Setup the mail as if Avast isn’t there. That way Avast should scan the mail automaticly. Do you have other security software installed? (spamfilter or something like that)