Description
Allow users to subscribe to email notifications for new issues matching their saved searches.
Why Needed
- Stay updated on new issues without checking manually
- Catch good issues before others
- Proactive contribution opportunities
Implementation Details
- Email subscription form
- Store preferences in D1 database
- Scheduled Worker to check for new issues
- Email sending via Mailgun/SendGrid/Resend
- Unsubscribe functionality
Architecture
- User saves search with email notification enabled
- Preference stored in D1 with search criteria
- Cron Worker runs periodically (hourly/daily)
- Checks for new issues matching criteria
- Sends digest email if new issues found
Files to Create/Modify
- workers/notifications.ts (cron handler)
- workers/email.ts (email sending)
- src/components/shared/EmailSubscribe.svelte
- Database schema for subscriptions
Acceptance Criteria
Time Estimates
- With AI: 145 minutes
- Without AI: 960 minutes
Description
Allow users to subscribe to email notifications for new issues matching their saved searches.
Why Needed
Implementation Details
Architecture
Files to Create/Modify
Acceptance Criteria
Time Estimates