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

# Changing an email template

> What happens when you edit a published email template, and what it means when a template shows as out of date.

You can change a published template whenever you need to. allGood keeps track of what the change reaches, and nothing goes live until you publish it.

## Emails you already made stay as they are

An email is self-contained. It carries its own design and copy, plus a record of which template it came from. A template change shows up in the next email you make from it, not in emails already built.

## When a template shows as out of date

When you publish a template, allGood locks in the brand guideline and component library it was built from. If either changes afterward, the template shows as **out of date**.

Out of date doesn't mean broken. It means the template was published against an earlier brand or library. Review it against the new versions, then publish it again to lock those in.

## Make a change

1. Open the template and edit it the same way you created it.
2. Check the preview and the [copy schema](https://docs.allgoodhq.com/mk/content/email/templates/writing-the-copy-schema.md). If you rename or remove a field, everyone using the template sees the new list.
3. Publish it. Saving creates a draft version, and the last published version stays in use until the new one is published.

To change the template's code by hand, open the template and select **Edit Source** under **Author**. It works the same way as it does for an email: check, preview, then **Save** or **Save and publish**. See [Editing an email's code](https://docs.allgoodhq.com/mk/content/email/emails/editing-the-code.md).

When this works, the template shows your new version with a **Published** status. See [Publishing and versions](https://docs.allgoodhq.com/mk/content/approvals.md) for how versions and rollback work.

## Related articles

* [What an email template is](https://docs.allgoodhq.com/mk/content/email/templates/what-an-email-template-is.md)
* [Email components](https://docs.allgoodhq.com/mk/content/email/components/index.md)
* [Editing an email's code](https://docs.allgoodhq.com/mk/content/email/emails/editing-the-code.md)

> [!NOTE]
>
> Stuck? Reach out to [support@allgoodhq.com](mailto:support@allgoodhq.com).


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