# Email customization

*Introduced in* [*v4.8.0*](https://github.com/InseeFrLab/keycloakify/releases/tag/v4.8.0)

It is now possible to customize the emails sent to your users to confirm their email address ect.\
Just run `npx create-keycloak-email-directory`, it will create a `keycloak_email` directory at the root of your project.\
This directory should be tracked by Git (`yarn add -A`) You can start hacking the default template.\
When `npx build-keycloak-theme` (`yarn keycloak`) is run, if the directory `keycloak_email` exists at the root of your project, it will be bundled into your `.jar` file and you will be able to select it in the Keycloak administration pages.

![Selecting your email theme in the Keycloak admin](https://1698665718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3g7h6yiTIOMQ8KRbalMO%2Fuploads%2Fgit-blob-e161e830f1d33e6500602c09ea12eef82804ca08%2Femail.png?alt=media)
