useSend icon indicating copy to clipboard operation
useSend copied to clipboard

[Feat]: Webhook for events on email

Open marconneves opened this issue 9 months ago • 3 comments

I see in the readme that there is a pending webhook feature. Do you plan to build it in the near future? Or is it not a priority?

marconneves avatar Apr 02 '25 18:04 marconneves

this definitely a priority. if you have any ideas on how to implement this i'm all ears

KMKoushik avatar Apr 04 '25 18:04 KMKoushik

Here’s how I’m thinking about it: We can hook into key email events like "sent", "failed", etc. Then allow users to configure webhook URLs for those events. Whenever one of those events happens, we send a POST request to the respective URL with some useful data (like recipient, subject, status, timestamp, etc.). Optionally, we could sign the payload for security, and even add retries if the delivery fails.

Abhijitam01 avatar Apr 08 '25 19:04 Abhijitam01

Implemented on #184

marconneves avatar Jul 09 '25 10:07 marconneves