Installed Nodemailer to send verification, password-reset, and invitation mail from the auth hooks. Its ESM default export fit this module-based service. Automated tests injected a stand-in transport and covered both a successful send and a mail outage. The local smoke process was started with no SMTP host, so delivery through a real mailbox was not observed.
- What worked
- The library installed at the requested major version and accepted a custom transport. Test flows that depend on sending mail, and the outage path, completed without an import or transport error from the library.