> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateEmailTemplateInput

> Fields for a new email template. `trigger` is required and immutable after create. Omit style fields to use builder defaults. Optional `operations` on the mutation populate sections after the default header/line/footer.

<ResponseField name="contentBackgroundColor" type="String">
  Content canvas background from Email styles.
</ResponseField>

<ResponseField name="emailBackgroundColor" type="String">
  Email background from Email styles.
</ResponseField>

<ResponseField name="linkColor" type="String">
  Default link color.
</ResponseField>

<ResponseField name="name" type="String!" required>
  The merchant-facing name of the template.
</ResponseField>

<ResponseField name="previewText" type="String">
  Inbox preview text.
</ResponseField>

<ResponseField name="subject" type="String">
  The authored subject line. Defaults to empty.
</ResponseField>

<ResponseField name="trigger" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-trigger">MarketingTrigger!</a>} required>
  The trigger context this template is valid for. Required at create; cannot be changed later.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.