feat: add weekly email digest with AI productivity summary#1644
feat: add weekly email digest with AI productivity summary#1644Subhra-Nandi wants to merge 1 commit into
Conversation
|
@Subhra-Nandi is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
There was a problem hiding this comment.
Thanks for your first PR on DevTrack! 🎉
A maintainer will review it within 48 hours. While you wait:
- Make sure CI is passing (type-check + lint)
- Double-check the PR description is filled out and the issue is linked
- Feel free to ask questions in Discussions if you need help
If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project grow and attract more contributors!
32d0c0e to
1d7fce6
Compare
|
This PR has merge conflicts with |
99d9efd to
4a16dfa
Compare
|
This PR has developed merge conflicts after recent merges to |
- Opt-in toggle in /settings (DigestOptIn component) - GET/POST /api/settings/digest for preference management - Cron endpoint /api/cron/weekly-digest fires every Monday 9am UTC - AI summary generation in src/lib/digest.ts - Inline-styled HTML email via Resend - One-click unsubscribe at /unsubscribe?token=<uuid> - DB migration adds digest_unsubscribe_token to users table - Settings gear icon added to DashboardHeader Closes Priyanshu-byte-coder#937
4a16dfa to
f016e89
Compare
[FEAT] Add weekly email digest with AI productivity summary
Closes #937
What this PR does
Implements the weekly email digest feature. Opted-in users receive a Monday 9am UTC email with an AI-generated productivity summary, current streak, top repo, PR stats, and a trend badge.
Changes
Acceptance Criteria
Screenshots
Required before deploying
supabase/migrations/20260529000000_add_digest_settings.sqlin Supabase SQL editorRESEND_API_KEY,RESEND_FROM_EMAIL,GEMINI_API_KEY,CRON_SECRET