Hacker News new | ask | show | jobs
by johtso 58 days ago
Another email sending service without support for idempotency?
1 comments

AFAIK there is no communication service or protocol on the internet designed with idempotency in mind. (That was worthwhile and adopted)
Sure, but this is not a protocol, this is an API. APIs that allow actions that cost money, potentially annoy users / effect your reputation in the eyes of email recipients, I believe, should allow the caller to supply a unique key to enforce idempotency.
Track state on your side.
It’s impossible to know whether an action completed successfully if an error occurs between sending the request and persisting the result
You also have no idea if it's been blocked or dropped before delivery unless you're using things like tracking pixels etc, right? And even then, that only works if they aren't being blocked (Proton Mail can do this, etc.)

It just seems like this is trying to force something that was never remotely designed for it.