Email Templates API

EmailTemplate

 Field name  Description
 name the template file name
 type  the type, for example ""ACTIVATION_SUCCESS_EMAIL"", "BOOKMARK", "FEEDBACK",...
 function  the function in which this template is used, for example "ACTIVATION_SUCCESS_EMAIL", "ENCRYPTED BOOKMARK",...
 subject the email subject to send the email with the template
modifiedBy the user name who last modified the template
lastModified the last time the template was modified

Example:

{
 "name":"notify-admin-second-lock.vm",
 "type":"NOTIFY_ADMIN_SECOND_LOCKOUT",
 "subject":"User account locked for fifteen minutes",
 "function":"USER_ACCOUNT_LOCKED_FIFTEEN_MINUTES_EMAIL",
 "modifiedBy" : "system",
 "lastModified" : "1465371083991"
}