The mail scanner is started when you log on to Windows and keeps running until you log off. Avast cannot start the mail scanner when you start the mail program, because it doesn’t know which mail program you use.
If you don’t want the mail scanner to be started automatically, start the Mail Protection Wizard, choose the manual configuration and uncheck ‘Enable automatic start of the service’.