# Customize Email Templates

The Portal includes customizable email templates for account confirmation and password reset, which can be updated to match your site’s design.

## Setup

To allow customization you must first 'override' the existing template files for the step required to be modified.

To do this follow these steps:

1. Copy the equivalent [templates](https://github.com/umbraco/Umbraco.Commerce.Portal/tree/main/src/Umbraco.Commerce.Portal/Views/Templates/Email).
2. Add them to `Views/UmbracoCommercePortal` in your project directory. It might be necessary to create the folder first.
3. Make a small text change to one of the Views to verify that the files are in use.
4. Verify that the changes are carried out and displayed correctly.

You are now ready to start customizing the Portal email templates to fit the design of your website.

If you want to use your own email template views, ensure that they are using the `EmailModel`. Next, go to the `Templates | EmailTemplates` settings in your store. For each `Umbraco Commerce Portal` template, update the path to point to your custom view.

![Overview of the store's email templates settings](https://721296160-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4kB9Trqs7XbQsP80vWVA%2Fuploads%2Fgit-blob-9d84ae99c2ec4a9d7e267a096b77b90c5a327c69%2Fucp_email_templates.png?alt=media)

![Overview of the properties of an email template](https://721296160-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4kB9Trqs7XbQsP80vWVA%2Fuploads%2Fgit-blob-29518c9cf8956833198a0a37c1b43e3e8f8ea595%2Fucp_email_template_details.png?alt=media)

## Useful links

Here are a few useful links to learn more about the Umbraco Commerce Portal package:

* [Umbraco Commerce Portal source code](https://github.com/umbraco/Umbraco.Commerce.Portal)
* [Umbraco Commerce Portal issue tracker](https://github.com/umbraco/Umbraco.Commerce.Portal/issues)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/umbraco-commerce-packages/portal/customize-email-templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
