mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 06:05:55 +03:00
[GH-ISSUE #42] Webhooks? #86
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anonaddy#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amaury1093 on GitHub (Apr 17, 2020).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/42
First, I'd like to start by saying that this product is great, thanks!
I have a request for my use case: would it be possible to add webhooks?
In the settings page, the user could add an optional endpoint
https://api.user.personal.website.com, and, if set, all emails (incl subject, body, attachments) would be sent to this webhook upon receival.I would like to set up my own personal endpoint, and do some basic parsing operations on the raw emails I receive from others.
If webhooks are set up, this tool could be easily integrated e.g. via Zapier to a wide range of other services. I know it might go against the privacy vision of the app, but again, the webhook will be optional for users.
@willbrowningme commented on GitHub (Apr 28, 2020):
That is a great idea. I do currently have this on my to do list and might try to implement it into the new rules system as one of the actions that can be carried out.
How do you think failed webhook deliveries should be handled?
@amaury1093 commented on GitHub (Apr 28, 2020):
As a 1st version, I'd say on error just send an email to the user with the HTTP response. I think that's what Github does tbh, go to
/settings/hooksin any repo.Would also be wise to see how services like Zapier handle failed webhook calls. Probably they store all webhook calls in a DB, with a dashboard to see all your past webhook deliveries & errors. But on AnonAddy that could be for later.
@ririko5834 commented on GitHub (May 27, 2023):
Really good idea to support webhook as receipts, there should be also support to add Discord and Slack webhooks so you can receive emails on Discord in embed format. Or option to add custom webhook URL where email subject, body, sender and other data would be POSTED in json format
@ririko5834 commented on GitHub (May 27, 2023):
It should be logged to Failed deliveries and tried to be recalled. Or there should also be an option to set up a fallback email address for webhook recipients where emails would be forwarded in case webhook doesn't return 20x status code.
@gerynugrh commented on GitHub (Sep 11, 2024):
Hi @willbrowningme what do you think about this feature request? If you are okay with adding this feature I could spent some time to work on it.
@willbrowningme commented on GitHub (Sep 11, 2024):
@gerynugrh It's still on the roadmap here I just haven't had time to work on it yet.
I think using Laravel's HTTP Client should really help with it.
There is also Spatie's webhook server package - https://github.com/spatie/laravel-webhook-server