Problem
Email sending is tightly coupled to business logic.
Tasks
- Create notification service abstraction
- Implement email notification adapter
- Extract email templates to presenters
- Add notification queue for async delivery
Acceptance Criteria
Files to modify
app/services/authentication_service.rb
app/mailers/user_mailer.rb
- Create notification service structure
Phase: 3 (Infrastructure)
Priority: Medium
Problem
Email sending is tightly coupled to business logic.
Tasks
Acceptance Criteria
app/services/notifications/directoryFiles to modify
app/services/authentication_service.rbapp/mailers/user_mailer.rbPhase: 3 (Infrastructure)
Priority: Medium