Open the menu
    ```html

    Email Template Repository

    Allows managing the publishing of email templates.

    This service serves as a repository of email templates to be used in other services. Those services that support using an email template repository will have the option, in their service instances, to associate with an email template repository.
    An email template is a set of fields that are used to create an email, using variables to replace terms in the email with terms provided by the services that use this repository.
    For example, a template might have the following body:
    The block *|fullName|* marks a variable called fullName which can be replaced by the name of the user who will receive the email, for example.


    Usage in a customized service

    To associate an instance of the email template repository service with an instance of a customized service, it is necessary to add the menu item of type lum_emailTemplateRepository to your servicedefinition.xml:

    To obtain an ISingleMail from the email template, it is necessary to perform similar code:


    Permissions

    • Manage service instance: Allows managing all the data of this service instance, including deleting it entirely.
    • Edit content of service instance: Allows managing all the data of this service instance with publisher profile.
    • View service instance: Allows viewing public data of this service instance.

    Interfaces

    ```