Since my users are mostly using my mobile application, I want to send digest emails directly to my application and also send notifications, whenever they are available.
So I need something like webhook to send digest email data to an endpoint.
I store the user id of my users inside my application as a user field in discourse. then I assume this data would be transferred alongside digest data to the endpoint I want. This way I can do the rest and show digest inside my application and/or send notifications when ever they arrive.
If its possible to have different frequencies for real digest email and this webhook with minimal effort, I think its preferable.
Thank you very much for sharing your plugin. However your plugin seems to be too much customized. I prefer to use discourse own digest method with minimal change. just need to send the data to an endpoint instead of email, to do what i want with it.