You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT] Add weekly email digest with AI productivity summary #937
Users who don't open DevTrack daily miss their weekly AI productivity summary. A weekly email digest would increase retention and keep users engaged with their coding habits without requiring them to visit the app.
Proposed Solution
Add opt-in setting in user settings: "Weekly email digest"
Every Monday at 9am UTC, generate and send a digest to opted-in users
Email content: AI summary, current streak, top repo, weekly trend badge
Use Resend or Nodemailer + a free SMTP provider
Alternatives Considered
Push notifications (PWA): Works but less reliable for once-a-week touchpoints
In-app only: Already exists, but doesn't help inactive users
Acceptance Criteria
User can opt in/out of weekly digest in Settings
Cron job or Vercel Cron triggers every Monday
Email renders properly in Gmail, Outlook, Apple Mail
Unsubscribe link in every email
Additional Context
Vercel Cron can trigger a /api/cron/weekly-digest route. Resend has a free tier (3000 emails/month) suitable for early-stage.
Here is a detailed, technically solid, step-by-step approach to solve this issue:
Add a weekly_digest_enabled boolean column to the users table via a Supabase migration, and add a toggle switch in the User Settings profile dashboard UI.
Create a scheduled serverless cron endpoint /api/cron/weekly-digest using Vercel Crons or a GitHub Action scheduled trigger running every Monday at 9:00 AM UTC.
In the handler, verify the cron request secret, query weekly stats for opted-in users, call the Groq/AI utility to compile a concise productivity summary sentence, assemble a beautiful HTML email template using react-email, and dispatch it via the Resend API (with a functional unsubscribe link).
I would love to work on this issue and implement the proposed solution. Could you please assign this issue to me? Thank you!
Hi, I’d like to work on this issue under GSSoC 2026.
My approach would be:
First, I’ll review the current user settings/preferences flow and add an opt-in toggle for weekly email digests so users can easily enable or disable the feature.
Then I’ll implement a scheduled digest flow using a cron-based endpoint (such as a Vercel Cron route) that runs every Monday and fetches the required weekly user stats like streaks, top repositories, and AI productivity summaries.
I’ll integrate an email provider such as Resend or Nodemailer and build a clean email template that renders properly across common email clients like Gmail, Outlook, and Apple Mail.
I’ll also add unsubscribe support directly inside the email to ensure users can opt out easily at any time.
Finally, I’ll test the full flow carefully, including opt-in/opt-out behavior, cron execution, email formatting, and failure handling to ensure weekly digests are generated and delivered reliably without affecting existing app functionality.
Closing as a duplicate of #171 ("Add weekly email digest via Resend"), which covers the same feature and was filed first. Let's track the weekly email digest work there.
Activity
Subhra-Nandi commentedon May 25, 2026
Hi @Priyanshu-byte-coder , please assign this to me.
tmdeveloper007 commentedon May 25, 2026
Proposed Implementation Plan
Here is a detailed, technically solid, step-by-step approach to solve this issue:
weekly_digest_enabledboolean column to theuserstable via a Supabase migration, and add a toggle switch in the User Settings profile dashboard UI./api/cron/weekly-digestusing Vercel Crons or a GitHub Action scheduled trigger running every Monday at 9:00 AM UTC.react-email, and dispatch it via the Resend API (with a functional unsubscribe link).I would love to work on this issue and implement the proposed solution. Could you please assign this issue to me? Thank you!
Krithika1627 commentedon May 26, 2026
Hi, I’d like to work on this issue under GSSoC 2026.
My approach would be:
feat: add weekly email digest with AI productivity summary
feat: add weekly email digest with AI productivity summary
feat: add weekly email digest with AI productivity summary
feat: add weekly email digest with AI productivity summary
feat: add weekly email digest with AI productivity summary
feat: add weekly email digest with AI productivity summary
feat: add weekly email digest with AI productivity summary
feat: add weekly email digest with AI productivity summary
S0412-2007 commentedon Jun 13, 2026
rudrakshtank commentedon Jun 19, 2026
Hi mentor I am a Gssoc contributor please can you assign me this issue so I can work on it.
github-actions commentedon Jun 19, 2026
@rudrakshtank This issue is already taken by @Subhra-Nandi. Check other open issues!
Priyanshu-byte-coder commentedon Jul 29, 2026
Closing as a duplicate of #171 ("Add weekly email digest via Resend"), which covers the same feature and was filed first. Let's track the weekly email digest work there.