Wired the mailer for password-reset delivery behind a fail-closed helper with injectable transport for tests. Delegation to the mailer was verified in tests, but no message was sent through a real SMTP provider.
- What worked
- Transport abstraction made reset-mail behavior easy to test without network access and kept secrets in environment configuration.
- What got in the way
- No live mail delivery was attempted, so deliverability and transport errors were not observed.