There are a number of properties for configuring customized email templates when using the v1 REST APIs. Once you have developed your custom application, add the required properties in the global properties file (alfresco-global.properties) to register your application. In this file you can also set the path to each email template and any linked assets (such as images and company logo) to use your own branding.
The shared-links and request-password-reset APIs provide a way to send email notifications. To view these APIs, navigate to https://api-explorer.alfresco.com/api-explorer/#!/shared-links/emailSharedLink and https://api-explorer.alfresco.com/api-explorer/#!/people/requestPasswordReset in your web browser. One of the mandatory properties in the request body of these APIs, client, sets the name of your registered client application. Registering a client means you can create a unique email template for each client, and configure the required email template and assets using different properties.
repo.client-app.<client-name>.<propertyName>
repo.client-app.share.templateAssetsUrl=${shareUrl}/res/components/images/ # shared-link (quickShare) base url repo.client-app.share.sharedLinkBaseUrl=${shareUrl}/s # shared-link email template path repo.client-app.share.sharedLinkTemplatePath= # reset password request email template path repo.client-app.share.requestResetPasswordTemplatePath= # reset password UI page url repo.client-app.share.resetPasswordPageUrl=${shareUrl}/page/reset-password # reset password confirmation email template path repo.client-app.share.confirmResetPasswordTemplatePath=
For more information, see Configuring customized email templates.