This interface defines the structure of an Email Template object.
export interface EmailTemplate {
    name?: string;
    subject?: string;
    html_body?: string;
    text_body?: string;
    variables?: string[];
    updated_at?: string;
}

Properties

  • name (string, optional): The name of the email template.
  • subject (string, optional): The subject line of the email.
  • html_body (string, optional): The HTML content of the email body.
  • text_body (string, optional): The plain text content of the email body.
  • variables (string[], optional): A list of variables available for use in the template.
  • updated_at (string, optional): The timestamp when the email template was last updated.