diff --git a/internal/mail/html/user-invite.html b/internal/mail/html/user-invite.html
index c32050e29..886baecb0 100644
--- a/internal/mail/html/user-invite.html
+++ b/internal/mail/html/user-invite.html
@@ -1,85 +1,15 @@
-
-
-
-
-
-
-
-
- Verify Your Account
- You are receiving this email because you are a user of Canonical Identity Platform. | If you're not sure why you're receiving this please contact support. |
|
|
\ No newline at end of file
diff --git a/ui/emails/Makefile b/ui/emails/Makefile
index c0f16a615..a91cdaebc 100644
--- a/ui/emails/Makefile
+++ b/ui/emails/Makefile
@@ -1,17 +1,9 @@
MJML=npx mjml
MJML_DIR=mjml
MJML_FILES=$(wildcard $(MJML_DIR)/*.mjml)
-IMAGES_DIR_NAME=images
-MJML_IMAGES=$(MJML_DIR)/$(IMAGES_DIR_NAME)
HTML_DIR=../../internal/mail/html
-IMAGES_DIR=$(HTML_DIR)/$(IMAGES_DIR_NAME)
-images:
- rsync -a --delete $(MJML_IMAGES)/ $(IMAGES_DIR)
-
-.PHONY=images
-
-build: $(MJML_FILES) images
+build: $(MJML_FILES)
$(foreach file, $(MJML_FILES), $(MJML) $(file) --config.minify --config.minifyOptions='{"minifyCSS": true}' -o $(HTML_DIR)/$(basename $(notdir $(file))).html;)
.PHONY=build
diff --git a/ui/emails/mjml/images/canonical.jpg b/ui/emails/mjml/images/canonical.jpg
deleted file mode 100644
index d76a60bde..000000000
Binary files a/ui/emails/mjml/images/canonical.jpg and /dev/null differ
diff --git a/ui/emails/mjml/includes/header.mjml b/ui/emails/mjml/includes/header.mjml
index 1f4083507..7229e6dfc 100644
--- a/ui/emails/mjml/includes/header.mjml
+++ b/ui/emails/mjml/includes/header.mjml
@@ -1,5 +1,5 @@
-
+
diff --git a/ui/emails/mjml/user-invite.mjml b/ui/emails/mjml/user-invite.mjml
index 72a2b0c48..8448668cc 100644
--- a/ui/emails/mjml/user-invite.mjml
+++ b/ui/emails/mjml/user-invite.mjml
@@ -40,7 +40,7 @@
Verification code
- {{slice .RecoveryCode 0 3}} {{slice .RecoveryCode 3 6}}
+ {{ .RecoveryCode }}