reacherhq / check-if-email-exists

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
https://reacher.email
Other
4.31k stars 332 forks source link

Gmail API not working anymore #1431

Open amaury1093 opened 8 months ago

amaury1093 commented 8 months ago

Email to check

someone@gmail.com

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 someone@gmail.com for example.

Relevant log output

No response

lechuhuuha commented 8 months ago

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

OisCircle commented 8 months ago

gg

namper commented 7 months ago

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 ?

amaury1093 commented 7 months ago

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.

lechuhuuha commented 7 months ago

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

ernests commented 7 months ago

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

beshoo commented 7 months ago

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: @.***>