check-if-email-exists icon indicating copy to clipboard operation
check-if-email-exists copied to clipboard

Gmail API not working anymore

Open amaury1093 opened this issue 1 year ago • 7 comments

Email to check

[email protected]

From where did you run check-if-email-exists?

anywhere, even local machine

Version of check-if-email-exists (if running it yourself)

8e79884314f0c1eec5a7964fa686e2c60e7d2209

What happened?

We added the ability to verify Gmail addresses using an API (instead of a SMTP connection): https://github.com/reacherhq/check-if-email-exists/pull/1193.

However, since a couple of days ago, this seems to have stopped working. Maybe Gmail changed something on their side. Emails that used to be safe now return invalid. You can try with [email protected] for example.

Relevant log output

No response

amaury1093 avatar Jan 16 '24 10:01 amaury1093

yep can confirm this any email will return the same result sad day for us fallback to smtp then

lechuhuuha avatar Jan 26 '24 05:01 lechuhuuha

gg

OisCircle avatar Jan 31 '24 11:01 OisCircle

Yes can confirm also from my side. In my experience SMTP is very unreliable, are there any other methods that can be used for Gmail ?

namper avatar Feb 13 '24 20:02 namper

I wonder if there's a way to run a headless browser, and go to Gmail's password recovery page https://accounts.google.com/signin/v2/usernamerecovery. Use the headless browser to input the email to verify, and hopefully with the messages that Gmail returns, we can know its existence.

Similarly to how we currently do for hotmail.

amaury1093 avatar Feb 14 '24 10:02 amaury1093

I wonder if there's a way to run a headless browser, and go to Gmail's password recovery page https://accounts.google.com/signin/v2/usernamerecovery. Use the headless browser to input the email to verify, and hopefully with the messages that Gmail returns, we can know its existence.

Similarly to how we currently do for hotmail.

tried that method but not working for gmail they detect its way too easy and block you after few attempt with captcha

lechuhuuha avatar Feb 14 '24 17:02 lechuhuuha

Yes can confirm also from my side. In my experience SMTP is very unreliable, are there any other methods that can be used for Gmail ?

Did quick research and there "kind of" is alternative but it requires your cookie and additional token. Look for https://people-pa.clients6.google.com url in Github. This is an endpoint where google checks if account is with them. Previously it was https://mail.google.com/mail/gxlu

ernests avatar Mar 01 '24 12:03 ernests

Nah, not good at all...

On Fri, Mar 1, 2024, 3:50 PM er @.***> wrote:

Yes can confirm also from my side. In my experience SMTP is very unreliable, are there any other methods that can be used for Gmail ?

Did quick research and there "kind of" is alternative but it requires your cookie and additional token. Look for https://people-pa.clients6.google.com url in Github. This is an endpoint where google checks if account is with them. Previously it was https://mail.google.com/mail/gxlu

— Reply to this email directly, view it on GitHub https://github.com/reacherhq/check-if-email-exists/issues/1431#issuecomment-1973139196, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT27ESUXK7Z2KC6A7I4DYWB2PTAVCNFSM6AAAAABB4RZ2KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTGEZTSMJZGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

beshoo avatar Mar 01 '24 13:03 beshoo