From 83f86baf9e121701fcdf645718db560e62bcaaba Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Wed, 30 Oct 2024 13:46:05 +0100 Subject: [PATCH] feat: plain text productivity report (#8589) --- .../productivity-report.html.mustache | 2 +- .../productivity-report.plain.mustache | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/mailtemplates/productivity-report/productivity-report.html.mustache b/src/mailtemplates/productivity-report/productivity-report.html.mustache index 68f1048d59..8bfaece458 100644 --- a/src/mailtemplates/productivity-report/productivity-report.html.mustache +++ b/src/mailtemplates/productivity-report/productivity-report.html.mustache @@ -73,7 +73,7 @@
This email was sent to {{userEmail}}. You’ve received this as you are a user of Unleash.
{{#unsubscribeUrl}} - If you wish to unsubscribe from updated, click here. + If you wish to unsubscribe, click here. {{/unsubscribeUrl}}
diff --git a/src/mailtemplates/productivity-report/productivity-report.plain.mustache b/src/mailtemplates/productivity-report/productivity-report.plain.mustache index a0fafd4245..6f7ccc1f3c 100644 --- a/src/mailtemplates/productivity-report/productivity-report.plain.mustache +++ b/src/mailtemplates/productivity-report/productivity-report.plain.mustache @@ -1,10 +1,19 @@ -Subject: Unleash productivity report +Subject: Unleash Productivity Report -Hello, +Hi {{userName}}, -Productivity report -{{! FIXME: create plaintext template }} +We are excited to share the latest insights for your instance. As always if you +have any questions or concerns let us know - we are here for you. +Your instance health: {{health}} + +Flags created last month: {{flagsCreated}} + +Production updates last month: {{productionUpdates}} + +Go to your Insights to learn more: {{unleashUrl}}/insights + +This email was sent to {{userEmail}}. You’ve received this as you are a user of Unleash. {{#unsubscribeUrl}} -If you wish to unsubscribe from updated, open {{unsubscribeUrl}}. + If you wish to unsubscribe, click here. {{/unsubscribeUrl}}