Blog Notifications is a service that handles sending email notifications to blog authors and subscribers.
- Sends welcome emails to new blog authors
- Notifies authors when their posts receive comments
- Sends digest emails to subscribers with latest posts
- Handles email template management and rendering
- Integrates with SendPulse email service for delivery
The service is written in Go and follows a clean architecture pattern. It consists of:
- Email template management
- Email queue processing
- SendPulse integration for delivery
- Database storage for tracking notifications
The service requires the following environment variables:
SENDPULSE_CLIENT_ID
- SendPulse API client IDSENDPULSE_SECRET
- SendPulse API secret keyDB_CONNECTION
- Database connection string