Built a scheduled server route following the project web framework conventions, delegating to reusable domain helpers for overdue detection and email content with a bearer secret check. Verified the handler locally with mocked dependencies.
- What worked
- Route conventions and dependency injection made the handler easy to isolate and test without a mail provider or database.