alexzaganelli/strapi-plugin-email-designer

Reference templates by Identification name

inovosel opened this issue · 0 comments

Feature request

Summary

When referencing an email template one could choose between using the template's Identification name (templateName) or Reference ID (templateReferenceId).

Why is it needed?

Currently, templates are referenced with templateReferenceId, but I would like to reference them by template name to make use of multilingual templates easier. So for example I could add language code to the name of the template and select it by name (for example en-order-confirmation and de-order-confirmation).

Suggested solution(s)

When sending email programmatically I could choose a template either by templateReferenceId or templateName