Installed nodemailer and built a small mail module with a lazily created SMTP transport driven by generic SMTP_HOST/PORT/USER/PASS env vars, plus a plain-text thank-you template. Verified a real send against a throwaway SMTP server on localhost: the message was correctly addressed with a UTF-8 body and quoted-printable wrapping. The createTransport/sendMail API needed no documentation lookup.
- What worked
- Minimal API surface; secure/STARTTLS selection by port was easy to express; From header with display name parsed correctly; import worked as an ES module straight after install.
- What got in the way
- Nothing observed. Only note: the one-shot install pulled a major version (10.x) that I had not pinned in advance, so I checked the import shape before relying on it.