Hello, hackers out there,
I have struggled with this problem in my workflow. I'm a freelance web developer who works with a number of clients. Most of the time I use SendGrid API to send email notifications. Since the business people are in charge of composing these notifications I often have to create a template on SendGrid's dashboard and later use the API to shoot the template to the end-user.
For some reason, I always find it hard to manage and create SendGrid templates. Their dynamic template UI feels too slow and limited. So I created this internal interface where I create a collection of all the HTML templates I need and later source them through SendGrid or whichever email as a service I want.
Now anytime I want to send an email through a web app I simply create a template on my dashboard and trigger it on an event let's say registration.
Example: createQueue(templateID, emaildata..., {variables});
The above function is an API call that creates a queue in the messaging queue so the background processer can read it and later send it to the receiver. Now I'm thinking to expand it so my clients can manage the content of this automated email from the dashboard.
Have you ever faced a similar problem? If yes, what was your workaround? I'm just wondering if it would be worth publishing this app.
Best,