Add the first three lines to file avast4.ini under the line [MailScanner] (create new entries). It will work without any aditional changes to Outlook accounts - Outlook needs not be redirected to 127.0.0.1.