From e1e8850c9a853ac198542033c8f425f5d1aeb768 Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 30 Sep 2025 03:59:15 +0200 Subject: [PATCH] Port emails to plaintext --- assets/email_templates/new_login_location.txt | 12 ++++++++++++ assets/email_templates/password_changed.txt | 6 ++++++ assets/email_templates/password_reset_request.txt | 7 +++++++ assets/email_templates/phone_removed.txt | 8 ++++++++ assets/email_templates/verify_email.txt | 7 +++++++ 5 files changed, 40 insertions(+) create mode 100644 assets/email_templates/new_login_location.txt create mode 100644 assets/email_templates/password_changed.txt create mode 100644 assets/email_templates/password_reset_request.txt create mode 100644 assets/email_templates/phone_removed.txt create mode 100644 assets/email_templates/verify_email.txt diff --git a/assets/email_templates/new_login_location.txt b/assets/email_templates/new_login_location.txt new file mode 100644 index 00000000..0106cf44 --- /dev/null +++ b/assets/email_templates/new_login_location.txt @@ -0,0 +1,12 @@ +Hey {userUsername}, + +It looks like someone tried to log into your {instanceName} +account from a new location. If this is you, follow the link +below to authorize logging in from this location on your +account. If this isn't you, we suggest changing your +password as soon as possible. + +IP Address: {ipAddress} +Location: {locationCity}, {locationRegion}, {locationCountryName} + +Verify Login: {actionUrl} diff --git a/assets/email_templates/password_changed.txt b/assets/email_templates/password_changed.txt new file mode 100644 index 00000000..45d9ff1c --- /dev/null +++ b/assets/email_templates/password_changed.txt @@ -0,0 +1,6 @@ +Hey {userUsername}, + +Your {instanceName} password has been changed. + +If this wasn't done by you, please immediately reset the +password to your {instanceName} account. \ No newline at end of file diff --git a/assets/email_templates/password_reset_request.txt b/assets/email_templates/password_reset_request.txt new file mode 100644 index 00000000..a4f4449f --- /dev/null +++ b/assets/email_templates/password_reset_request.txt @@ -0,0 +1,7 @@ +Hey {userUsername}, + +Your {instanceName} password can be reset by clicking the +link below. If you did not request a new password, please +ignore this email. + +Reset Password: {actionUrl} \ No newline at end of file diff --git a/assets/email_templates/phone_removed.txt b/assets/email_templates/phone_removed.txt new file mode 100644 index 00000000..1307873c --- /dev/null +++ b/assets/email_templates/phone_removed.txt @@ -0,0 +1,8 @@ +Hey {userUsername}, + +Your phone number ********{phoneNumber} was recently removed +from this account and added to a different {instanceName} +account. + +Please note that your phone number can only be linked to one +{instanceName} account at a time. \ No newline at end of file diff --git a/assets/email_templates/verify_email.txt b/assets/email_templates/verify_email.txt new file mode 100644 index 00000000..ae2d926e --- /dev/null +++ b/assets/email_templates/verify_email.txt @@ -0,0 +1,7 @@ +Hey {userUsername}, + +Thanks for registering an account on {instanceName}! +Before we get started, we just need to confirm that this is +you. Click below to verify your email address: + +Verify Email: {actionUrl} \ No newline at end of file