# eM Client doesn't connect to Gmail account

**URL:** <https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896>\
**Category:** Mail\
**Created:** [January 26, 2022, 5:52pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896 "2022-01-26T17:52:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vangelis\_K](https://forum.emclient.com/letter_avatar_proxy/v4/letter/v/da6949/32.png) [@Vangelis\_K](https://forum.emclient.com/u/Vangelis_K)\
**Post date:** [January 26, 2022, 5:52pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/1 "2022-01-26T17:52:14Z")

</div>

Hi to everyone!

As of the last several months eM Client is unable to connect to my Gmail account (I keep getting the dreaded red triangle with the message “an attempt to connect to [X@gmail.com](mailto:X@gmail.com) failed”). Strangely, the problem is not constant but erratic (sometimes it connects, most of the time it doesn’t) without any apparent reason. I have tried the following, with no success:

1. Disabling my Avast Internet Security anti-virus.
2. Removing and reinstalling eM Client.
3. Deleting and adding again my Gmail account.

My account settings: IMAP: Port 993 - Use SSL/TLS on special port (legacy). SMTP: Port 578 - Force usage of SSL/TLS.

I’d be grateful for any suggestions on how to fix this frustrating problem.

---

<div class="post-metadata">

**Author:** ![sunriseal](https://forum.emclient.com/user_avatar/forum.emclient.com/sunriseal/32/778_2.png) [@sunriseal](https://forum.emclient.com/u/sunriseal)\
**Post date:** [January 26, 2022, 6:01pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/2 "2022-01-26T18:01:41Z")

</div>

Any chance you are using a VPN?

---

<div class="post-metadata">

**Author:** ![Vangelis\_K](https://forum.emclient.com/letter_avatar_proxy/v4/letter/v/da6949/32.png) [@Vangelis\_K](https://forum.emclient.com/u/Vangelis_K)\
**Post date:** [January 26, 2022, 6:39pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/3 "2022-01-26T18:39:10Z")

</div>

Thanks for the reply. No, I’m not using a VPN.

---

<div class="post-metadata">

**Author:** ![sunriseal](https://forum.emclient.com/user_avatar/forum.emclient.com/sunriseal/32/778_2.png) [@sunriseal](https://forum.emclient.com/u/sunriseal)\
**Post date:** [January 26, 2022, 6:48pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/4 "2022-01-26T18:48:15Z")

</div>

What version of eMC are you using? Menu \> Help \> About

---

<div class="post-metadata">

**Author:** ![Vangelis\_K](https://forum.emclient.com/letter_avatar_proxy/v4/letter/v/da6949/32.png) [@Vangelis\_K](https://forum.emclient.com/u/Vangelis_K)\
**Post date:** [January 26, 2022, 7:04pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/5 "2022-01-26T19:04:12Z")

</div>

The version is 8.2.1659 (845a639)

---

<div class="post-metadata">

**Author:** ![cyberzork](https://forum.emclient.com/user_avatar/forum.emclient.com/cyberzork/32/9734_2.png) [@cyberzork](https://forum.emclient.com/u/cyberzork)\
**Post date:** [January 26, 2022, 9:02pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/6 "2022-01-26T21:02:15Z")

</div>

@Vangelis_K

Uninstall Avast Internet Security completely and reboot to test as disabling it may not be enough to test if its the problem.

Also when using Avast you normally have to “disable it’s built-in incoming mail scanning” otherwise it will interfere with eM Client. See link below.

“eM Client 8 Avast work-around”

[https://forum.emclient.com/t/em-client-8-avast-work-around/64297](https://forum.emclient.com/t/em-client-8-avast-work-around/64297)

If disabling Avast incoming mail scanning or uninstalling Avast to test makes no difference to the Gmail connection issue, then try disabling all non OS background tasks on the boot (to test), as their could be some other startup program interfering with eM Client.

---

<div class="post-metadata">

**Author:** ![imec](https://forum.emclient.com/letter_avatar_proxy/v4/letter/i/b487fb/32.png) [@imec](https://forum.emclient.com/u/imec)\
**Post date:** [January 26, 2022, 10:47pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/7 "2022-01-26T22:47:43Z")

</div>

I too am having this exasperating problem. It appeared suddenly about two weeks ago. I do not know Avast. My Em client version is 8.2.1659 (845a639).  
Any advice will greatly appreciated. I don’t want to abandon Emclient after about 15 years, although I’d happily shoot google.

---

<div class="post-metadata">

**Author:** ![cyberzork](https://forum.emclient.com/user_avatar/forum.emclient.com/cyberzork/32/9734_2.png) [@cyberzork](https://forum.emclient.com/u/cyberzork)\
**Post date:** [January 27, 2022, 12:31am UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/8 "2022-01-27T00:31:57Z")

</div>

@imec

> I too am having this exasperating problem. It appeared suddenly about two weeks ago. I do not know Avast. My Em client version is 8.2.1659 (845a639)

If you a have a normal Gmail IMAP or other “IMAP acct , Exchange or iCloud setup”, suggest to try removing and readding your account from eM Client via “Menu / Accounts”. That usually fixes most issues.

Before removing your account, backup eM Client via “Menu / Backup”

---

<div class="post-metadata">

**Author:** ![Vangelis\_K](https://forum.emclient.com/letter_avatar_proxy/v4/letter/v/da6949/32.png) [@Vangelis\_K](https://forum.emclient.com/u/Vangelis_K)\
**Post date:** [January 27, 2022, 5:32pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/9 "2022-01-27T17:32:43Z")

</div>

Cyberzork, thanks for the advice. Didn’t have a chance to test its effectiveness yet, as today my eMC woke up in a good mood and syncs to gmail perfectly - as I wrote, the problem appears erratically, but when it does it can go on for many days… Will try your remedies as soon as it resurfaces. Meanwhile, any feedback from others who face - and have possible solved - the same issue would be valuable.

---

<div class="post-metadata">

**Author:** ![Vangelis\_K](https://forum.emclient.com/letter_avatar_proxy/v4/letter/v/da6949/32.png) [@Vangelis\_K](https://forum.emclient.com/u/Vangelis_K)\
**Post date:** [January 28, 2022, 5:27pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/10 "2022-01-28T17:27:45Z")

</div>

Predictably, the problem came up again. Following Cyberzorg’s suggestion (thanks!), I disabled Inbound Mail Scan from Avast’s Core Shield Settings and it seems it has done the trick, at least for the time being. However, I am concerned about the potential risk of bypassing this critical security filter. Is there no other solution? If there is an inherent compatibility issue between eMC and Avast, should I switch to another anti-virus software? Which one does eMC work well with?

---

<div class="post-metadata">

**Author:** ![cyberzork](https://forum.emclient.com/user_avatar/forum.emclient.com/cyberzork/32/9734_2.png) [@cyberzork](https://forum.emclient.com/u/cyberzork)\
**Post date:** [January 28, 2022, 9:34pm UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/11 "2022-01-28T21:34:43Z")

</div>

> [@Vangelis\_K](#):
>
> If there is an inherent compatibility issue between eMC and Avast

There is no compatibility issue between eM Client and Avast. Many differant Antivirus programs mail scanning can cause problems with lots of differant mail clients in general. AVG is another one that comes to mind.

Its just the way alot of third party Antivirus mail scanning programs work. So all you can do is disable that inbound mail scanning part and that normally fixes the issues.

If you use eg: Windows 10 or 11, the built in Windows defender within Windows security works fine and you don’t need that optional inbound mail scanning in Avast enabled. It allways intercepts anything suspicious email downloads from my own experience and gives you options to quarantine or delete it.

I an my friends have never had any issues using eM Client in all the years ive been using it with just the built in Windows defender.

---

<div class="post-metadata">

**Author:** ![Vangelis\_K](https://forum.emclient.com/letter_avatar_proxy/v4/letter/v/da6949/32.png) [@Vangelis\_K](https://forum.emclient.com/u/Vangelis_K)\
**Post date:** [January 29, 2022, 11:03am UTC](https://forum.emclient.com/t/em-client-doesnt-connect-to-gmail-account/78896/12 "2022-01-29T11:03:48Z")

</div>

Problem solved! Cyberzork, many thanks for the advice!
