1. Infrastructure
- [x] 1.1 Add
outboxandnotification_preferencestables (migration 0038) - [x] 1.2 Add SMTP settings to config and deployment secrets
2. Notifier
- [x] 2.1 Emit assignment events to the outbox inside the assignment transaction
- [x] 2.2 Implement
cmd/worker that drains the outbox and sends emailnotifier - [x] 2.3 Skip self-assignments and opted-out recipients
3. Preferences UI
- [x] 3.1 Add per-project "Email me about assignments" toggle to project settings
- [x] 3.2 Add integration test covering opt-out