Setup the mail as if Avast isn’t there (instructions from your mail provider), than run the Mail Protection Wizzard. Let us know if this solves the problem.