Priority: Medium
Epic: User Experience
Description
Build a unified notification system that supports multiple channels (email via Nodemailer, SMS via Twilio, and push notifications) with user-configurable preferences.
Direction
- Create
notifications/ module with NestJS structure
- Implement email templates and Nodemailer integration
- Add Twilio SMS integration for critical alerts
- Build WebSocket-based push notification system
- Create user notification preferences UI/API
- Add i18n support for multi-language notifications
Definition of Done
- All three notification channels are functional
- Users can configure which events trigger which channels
- Notifications are queued and retried on failure
- Notification history is stored and accessible to users
- Templates support localization for multiple languages
Acceptance Criteria
- ✅ Trade executions, liquidations, and deposits trigger appropriate notifications
- ✅ Users can opt in/out of specific notification types
- ✅ Failed notifications are retried with exponential backoff
- ✅ Notification delivery status is tracked
- ✅ All templates are available in English, Spanish, and Mandarin
Priority: Medium
Epic: User Experience
Description
Build a unified notification system that supports multiple channels (email via Nodemailer, SMS via Twilio, and push notifications) with user-configurable preferences.
Direction
notifications/module with NestJS structureDefinition of Done
Acceptance Criteria