Setup your mail as if Avast isn’t there.

Does this solves it?