EmailTemplate
Manages email templates used for standardizing outbound email communication.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier of the email template. | |
| Name | String | False |
The display name of the email template. | |
| DeveloperName | String | False |
Unique developer-assigned name of the email template. | |
| NamespacePrefix | String | True |
Namespace prefix associated with the template, used in managed packages. | |
| OwnerId | String | False |
User.Id |
ID of the user or queue that owns the email template. |
| FolderId | String | False |
ID of the folder where the email template is stored. | |
| BrandTemplateId | String | False |
ID of the associated letterhead (brand template) used in the email template. | |
| TemplateStyle | String | False |
Specifies the style format used in the template, such as custom or standard. | |
| IsActive | Boolean | False |
Indicates whether the email template is available for use. | |
| TemplateType | String | False |
Type of the email template, such as text, HTML, custom, or Visualforce. | |
| Encoding | String | False |
Character encoding used for the email template. | |
| Description | String | False |
Text description providing details about the email template. | |
| Subject | String | False |
The default subject line used when sending the email. | |
| HtmlValue | String | False |
HTML-formatted content of the email template. | |
| Body | String | False |
Plain text content of the email template. | |
| TimesUsed | Int | True |
The number of times this template has been used to send emails. | |
| LastUsedDate | Datetime | True |
The date and time when the email template was last used. | |
| CreatedDate | Datetime | True |
The date and time when the email template was created. | |
| CreatedById | String | True |
User.Id |
ID of the user who created the email template. |
| LastModifiedDate | Datetime | True |
The date and time when the email template was last modified. | |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the email template. |
| SystemModstamp | Datetime | True |
System-generated timestamp indicating the last time the record was modified. | |
| ApiVersion | Double | False |
API version associated with the template if it uses Visualforce markup. | |
| Markup | String | False |
Visualforce markup or additional template markup content. |