feat: improve email sending, startup, and testing #52

Merged
eleith merged 1 commits from gemini/fix/email-and-startup-issues into main 2025-08-26 21:59:42 +00:00
1 Commits
Author SHA1 Message Date
eleith b27122de6c feat: improve email sending, startup, and testing
- Add a new test to ensure that all services are initialized correctly.
- Add a new `preview-docker` target to the `Makefile` to make it easier to build and run the application in Docker.
- Fix a bug that was causing the application to run twice when run in Docker.
- Fix a bug that was preventing the digest from being run on startup.
- Add logging to the `digestJob` to indicate the source of the job (startup or scheduler).
- Fix a bug that was causing the `EmailTemplate` to be `nil`.
- Rename `ProcessAndSendDigest` to `ProcessDigest` to more accurately reflect its function.
- Make email sending conditional on SMTP configuration.
- Add a concise log message for each digest produced, including entry count, output folder, and email sending status.
2025-08-26 21:39:25 +00:00