EmailTemplate

Represents a template for an email, mass email, list email, or Sales Engagement email. Supported in first-generation managed packages only.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see EmailTemplate in the Object Reference for the Salesforce Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
ApiVersion API Version double 18 1
Body Email Body textarea 384000
BrandTemplateId Letterhead ID reference 18
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
Description Description string 4000
DeveloperName Template Unique Name string 80
Encoding Encoding picklist 40
EnhancedLetterheadId Enhanced Letterhead ID reference 18
FolderId Folder ID reference 18
FolderName Folder Name string 256
HtmlValue HTML Value textarea 384000
Id Email Template ID id 18
IsActive Available For Use boolean
IsBuilderContent Made in Email Template Builder boolean
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
LastUsedDate Last Used Date datetime
Markup Markup textarea 1048576
Name Email Template Name string 80
NamespacePrefix Namespace Prefix string 15
OwnerId Owner ID reference 18
RelatedEntityType Custom Object Definition ID picklist 40
Subject Subject string 1000
SystemModstamp System Modstamp datetime
TemplateStyle Style picklist 40
TemplateType Template Type picklist 40
TimesUsed Times Used int 9
UiType UI Type picklist 40