GMail Advanced Protection program

Hi,

EMClient doesn’t not seem to support GMail Advanced Protection program

Here is the error : Error 400: policy_enforced and detail

Request details: [email protected] response_type=code redirect_uri=com.emclient.MailClient:/oauth code_challenge_method=S256 prompt=consent client_id=920743529221-1fndcm2n95fc2c2gp67rg4ec91jkjs0g.apps.googleusercontent.com code_challenge=tMzKwce7p0LNjBG8ErtBWaVHpWkL3SRzktdiy7jxzBs access_type=offline enable_serial_consent=true scope=ht_ps://www.googleapis.com/auth/userinfo.email openid ht_ps://www.googleapis.com/auth/userinfo.profile ht_ps://mail.google.com/ flowName=GeneralOAuthFlow

Link to developper doc : /support.google.com/accounts/answer/7539956?visit_id=638667384777578449-876953655&p=2sv_non-goog&rd=1#non-goog_ios

See @Gary post in the following thread on the subject.

Postbox was able to connect to it without any problem.

Postbox was able to connect to it without any problem.

I’d say you were lucky it worked.

Google don’t allow most third party apps and services when you have Google Advanced Protection enabled.
.
See Google support page on Google advanced protection with third party apps.

https://support.google.com/accounts/answer/12917337?hl=en#zippy=%2Cpolicy-enforced

“400 policy_enforced”

Quote below from the above Google page

“If you get an error that says “400 policy_enforced,” your Google Account may be part of the Advanced Protection Program. To help protect your account, this security feature doesn’t let most third-party apps or services access your Google Account data”.

"What can you do about this error?

“To fix this error, you must opt out of the Advanced Protection Program”.

Google made it available only to Apple apps and Thunderbird as far as I know. And as PostBox is Thunderbird, it was available there. Google does not allow other apps to use the Advanced protection, so we cannot use it, even if we wanted to.

1 Like