Message from JavaScript discussions
January 2018
— I think not. But I’m not actually sure.
If you are gonna use the Google GMail API you have to know that is very limited for a normal gmail account. And you have to pay a GSuit account if your plans include to launch something to production.
It’s not the approach I would choose.
The other thing you can do to validate an email and check if the recipient is the actual user is to actually send a email with a link and a message with the reason of the link, advertising that if he/she didn’t request that link is better not to open.
— Just ask them to click a link in the email
— You can embed trackers too
— It's not limited at all, you can just use SMTP with gmail
— So as soon as they open it, you know
— I use the Google Mail API with PHPMailer
— Read receipts?
— Yup
— Well, users can choose not to send them
— Might not be available with the API by itself, so you would have to make or add your own system for that
— But that doesn’t guarantee the user who received the email is the actual user who requested the validation