In version 4.5 avast will have a new mail detection that will work automatically. Please, set up your email account just as avast does not exists. It will detect the pop3/smpt/imap ports and scan your messages.