Silent mode
Tick silent mode in the internet mail provider and avast will delete all infected mails automatically.