avast can only stop mail arriving at your desktop, not your ISP or Gmail. Even then the mail would be in the spam folder.