Skip to content

task(auth): Use new email library for sending emails in auth-server#19936

Merged
dschom merged 1 commit intomainfrom
FXA-12884
Jan 27, 2026
Merged

task(auth): Use new email library for sending emails in auth-server#19936
dschom merged 1 commit intomainfrom
FXA-12884

Conversation

@dschom
Copy link
Copy Markdown
Contributor

@dschom dschom commented Jan 23, 2026

Because

  • We want to start using the new email library to send out emails.

This pull request

  • Switches about half the calls in auth-server over to using the new fxa-mailer.

Issue that this pull request solves

Closes: FXA-12884

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)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

Comment thread packages/fxa-auth-server/lib/senders/fxa-mailer-format.ts Outdated
Comment thread packages/fxa-auth-server/lib/senders/fxa-mailer-format.ts Outdated
Copy link
Copy Markdown
Contributor

@nshirley nshirley left a comment

Choose a reason for hiding this comment

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

Just doing a preliminary drive-by, I'll look again when it's settled

Comment thread libs/accounts/email-renderer/src/renderer/email-link-builder.ts
Comment thread libs/shared/react/.swcrc Outdated
Comment thread packages/fxa-auth-server/lib/routes/emails.js Outdated
Comment thread packages/fxa-auth-server/lib/routes/recovery-key.js Outdated
Comment thread packages/fxa-auth-server/lib/routes/session.js
Comment thread packages/fxa-auth-server/lib/senders/fxa-mailer.ts
Comment thread packages/fxa-shared/lib/user-agent.ts Outdated
@dschom dschom force-pushed the FXA-12884 branch 3 times, most recently from 5c090db to b34b796 Compare January 27, 2026 08:08
@dschom dschom marked this pull request as ready for review January 27, 2026 08:11
@dschom dschom requested a review from a team as a code owner January 27, 2026 08:11
Comment thread packages/fxa-auth-server/lib/senders/fxa-mailer-sanity-check.ts
Copy link
Copy Markdown
Contributor

@nshirley nshirley left a comment

Choose a reason for hiding this comment

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

Last come through looks good! 👍

I saw there was one last test failure but it looked unrelated to your changes. For fun I re-ran it to see if it passes. Otherwise, LGTM!!

@dschom dschom force-pushed the FXA-12884 branch 2 times, most recently from 1774a32 to cce5277 Compare January 27, 2026 17:29
@dschom dschom changed the title wip - wiring up new email sending task(auth): Use new email library for sending emails in auth-server Jan 27, 2026
@dschom dschom merged commit a116e09 into main Jan 27, 2026
21 checks passed
@dschom dschom deleted the FXA-12884 branch January 27, 2026 19:48
nshirley pushed a commit that referenced this pull request Jan 27, 2026
task(auth): Use new email library for sending emails in auth-server
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