I use Outlook Express and it retrieves and scans gmail just fine. You have to disable the SSL encryption however in the gmail account settings. Avast uses it’s own SSL encryption methods so you don’t lose any security whatsoever. The advanced tab should look like this picture.