intermittent connection problem and error

I just moved from Outlook to eM client and my gmail has worked on here but I keep getting this error message. I can’t get new mail and then it will work again. It might be the settings? Any thoughts…