Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the Gmail API library (gmail_v1) from Google APIs take time to send emails? #3575

Open
PatricioPoncini opened this issue Oct 11, 2024 · 1 comment

Comments

@PatricioPoncini
Copy link

PatricioPoncini commented Oct 11, 2024

I'm using this library in Node.js and just made four requests in quick succession, all to the same email address and with the same body. To my surprise, only the first one arrived. Why is this happening? Is this how the library works? I would like to know more, as I understand that if this endpoint were used frequently in my application, there could be emails that wouldn't be generated

This is the body of my request; as you can see, it is very simple:

{
  "subject": "Example subject",
  "to": ["test@test.com"],
  "body": "<h1>Hello, World!</h1><p>This is an email body in HTML format.</p>"
}
@PatricioPoncini
Copy link
Author

I think I understand. If I send the same body to the same email address, the second email won't be sent, right? Since the previous one sent is exactly the same. Can you confirm this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@PatricioPoncini and others