Is Strapi good for my email templating case?

Hi there!

I’m evaluating CMSes and not sure if a headless is good for my use case, which is:
I’d like to have a UI to build an email template (with variables and etc) and have a microservice querying for this template, merging data and sending out (this part is outside Strapi).

Has anybody done this here? If not, any suggestions?