Andi Skill Builder API Documentation

Type Alias: EmailBody

type EmailBody = {
  htmlBody: string;
  htmlData?: any;
  template?: "default" | "none";
};

Properties

Property Type Description
htmlBody string HTML text or Handlebars template. If template is provided, then it will be evaluated with htmlData to produce html content.
htmlData? any HTML data for Handlebars template.
template? "default" | "none" Default HTML Email template will be used if no value is provided, and the body section will be replaced with htmlBody content. If you do not wish to use wrapper template then use none value for template.