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

Idempotency #39

Open
johtso opened this issue Aug 6, 2024 · 2 comments
Open

Idempotency #39

johtso opened this issue Aug 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@johtso
Copy link

johtso commented Aug 6, 2024

Hey, cool project!

While exploring different email providers, they all had the same issue. They didn't give you any way to avoid sending the same email more than once.

Sending email in an automated way without this assurance seems kind of reckless. A bug can easily result in you spamming your users.

I ended up having to implement some frankenstein DIY pseudo-idempotency on top of Postmark involving database locks and making API calls to check if emails have already been sent.

Is this something on the road map?

Hacker news discussion: https://news.ycombinator.com/item?id=41172351
Stripe idempotency: https://docs.stripe.com/api/idempotent_requests

@driaug driaug added the enhancement New feature or request label Aug 7, 2024
@driaug
Copy link
Member

driaug commented Aug 7, 2024

This could be a good addition, I am leaving it open for now to gather some feedback from the community.

If there is demand for it, we can definitely implement it!

@killion
Copy link
Contributor

killion commented Aug 21, 2024

I used Blueshift a few years ago. They had a way to set a limit per-contact on the number of emails you can send per day. It doesn't directly solve this issue, but may help.

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

No branches or pull requests

3 participants