Skip to content

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

Closed

Description

@PatricioPoncini

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>"
}

Activity

  1. PatricioPoncini commented on Oct 11, 2024

    @PatricioPoncini
    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?

  2. sofisl commented on Feb 4, 2025

    @sofisl
    Contributor

    Since this is an API question, I'm going to transfer this to Discussions per our new issue policy. Thank you!

  3. locked and limited conversation to collaborators on Feb 4, 2025
  4. converted this issue into a discussion #3610 on Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions