Avast Mail Guard blocks all (4) my Gmail accounts from connecting to the server through Apple Mail

Hi all,

Last week I suddenly stopped getting new mail. I got this annoying triangle next to the accounts stating that they are off-line. The only thing that worked was shutting down Mail Guard.

I trust Mail Guard and do not want it off, but I need a way for it to stop blocking the connection to the server.

Any ideas?