diff --git a/website/docs/flow/stages/email/index.md b/website/docs/flow/stages/email/index.mdx similarity index 86% rename from website/docs/flow/stages/email/index.md rename to website/docs/flow/stages/email/index.mdx index 51472df4a..3e1115687 100644 --- a/website/docs/flow/stages/email/index.md +++ b/website/docs/flow/stages/email/index.mdx @@ -25,8 +25,48 @@ return True You can also use custom email templates, to use your own design or layout. +import Tabs from "@theme/Tabs"; +import TabItem from "@theme/TabItem"; + + + Place any custom templates in the `custom-templates` Folder, which is in the same folder as your docker-compose file. Afterwards, you'll be able to select the template when creating/editing an Email stage. + + +Create a ConfigMap with your email templates: + +```yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: authentik-templates + namespace: authentik +data: + my-template.html: | + ... +``` + +Then, in the helm chart add this to your `values.yaml` file: + +```yaml +volumes: + - name: email-templates + configMap: + name: authentik-templates +volumeMounts: + - name: email-templates + mountPath: /templates +``` + + + + :::info This is currently only supported for docker-compose installs, and supported starting version 0.15. :::