For your email settings, right click the blue ball next to the clock. Choose “on-access” and set the email scanning options as you like.

For the pop-up, check your settings in the menu when you open Avast.