Skip to content

feat(email): add templates for passwordless#20050

Open
StaberindeZA wants to merge 1 commit intomainfrom
fxa-13016-otp-email
Open

feat(email): add templates for passwordless#20050
StaberindeZA wants to merge 1 commit intomainfrom
fxa-13016-otp-email

Conversation

@StaberindeZA
Copy link
Contributor

Because

  • Need new email templates for passwordless signin and signup otp

This pull request

  • Adds passwordlessSigninOtp email template
  • Adds passwordlessSignupOtp email template

Issue that this pull request solves

Closes: # FXA-13016

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

image image

@StaberindeZA StaberindeZA requested review from a team as code owners February 12, 2026 16:07
@StaberindeZA StaberindeZA force-pushed the fxa-13016-otp-email branch 2 times, most recently from 593453d to 81838f8 Compare February 12, 2026 16:38

<mj-text css-class="text-body">
<span data-l10n-id="passwordless-signin-otp-request">
We received a sign-in request for your Mozilla account from:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does product envision these emails being very different? Currently the only difference is this line between the two. I wonder if we can keep the mailer functions but use the same email tempate and re-render differently based on that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The biggest issue I noticed is that the subject line is different for the 2 emails, and I'm not sure if there's currently an email with a "dynamic" subject line, or if there should be one.

There's also currently an open question out to the copywriters about changing one string, so there would be multiple strings that are different between the 2 emails.

That's mostly why I leaned towards 2, but I'm happy to look at merging the 2 if that's preferred.

@StaberindeZA StaberindeZA force-pushed the fxa-13016-otp-email branch 3 times, most recently from e7f67e2 to 8bb1867 Compare February 12, 2026 21:57
Because:

- Need new email templates for passwordless signin and signup otp

This commit:

- Adds passwordlessSigninOtp email template
- Adds passwordlessSignupOtp email template

Closes #FXA-13016
resource_class:
type: string
default: large
default: xlarge
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: The Unit Test job was OOM'ing so I bumped the size so that all auth-server tests get run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants