Anatolii Grynchuk 25fb48ccf0 refactor: modularize email processing logic and improve service structure
- Extract email template handling, rendering, and sending code into `Worker.Services` project.
- Introduce `EmailTemplateService`, `EmailTemplateRenderingService`, and `SendEmailService`.
- Simplify consumer logic by delegating to scoped services.
- Update project dependencies and package references accordingly.
2026-05-14 22:15:15 +03:00

hrynco-notification-service

Notification worker flow

flowchart TD
    A[Worker host starts] --> B[Load config and register services]
    B --> C[Start SendEmailConsumer]
    C --> D[Receive message from notification.send-email]
    D --> E[Resolve SendEmailService]
    E --> F[Pick channel and template]
    F --> G[Render email content]
    G --> H[Send via SMTP]
    H --> I[Update usage counters]
    I --> J[Optionally publish result to reply queue]
    H -. failure .-> K[Log and rethrow]
S
Description
No description provided
Readme 449 KiB
Languages
C# 76.6%
HTML 17.1%
CSS 3.8%
Dockerfile 2.5%