A little picture - open Avast and select shields
Select mail shield
Select expert settings
Select behaviour
Remove the ticks as shown