Skip to content

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

Closed
@PatricioPoncini

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": ["[email protected]"],
  "body": "<h1>Hello, World!</h1><p>This is an email body in HTML format.</p>"
}

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