Skip to content

Add assignment email digest support#34

Open
victorhblancom-design wants to merge 1 commit into
CodeBountyOrg:mainfrom
victorhblancom-design:codex/assignment-email-digests
Open

Add assignment email digest support#34
victorhblancom-design wants to merge 1 commit into
CodeBountyOrg:mainfrom
victorhblancom-design:codex/assignment-email-digests

Conversation

@victorhblancom-design
Copy link
Copy Markdown

Fixes #6.

Summary

  • add optional assignee email capture and persist sanitized assignee emails with tasks
  • queue assignment changes into delayed hourly digest batches instead of sending immediately
  • add a real unsubscribe endpoint backed by stable per-recipient tokens
  • add Resend delivery support plus a local log provider for development
  • document the email provider environment variables

Why this approach

The digest queue is stored with TaskForge data, so pending notifications survive process restarts. New assignments are detected by comparing the previous task list to the submitted one; repeated saves of the same assignee do not enqueue duplicate emails. Unsubscribe links clear pending work and prevent future digests for that recipient.

Verification

  • C:\Users\Vick_\.cache\codex-runtimes\codex-primary-runtime\dependencies\node\bin\node.exe --test

All 7 tests pass.

@codebounty-dev-bot
Copy link
Copy Markdown

⚠️ Attention Sponsor: This PR was submitted by @victorhblancom-design who has not applied for this bounty (#6). Please verify if you want to consider this contribution.

👋 Hey @victorhblancom-design: This issue has a bounty on CodeBounty! To be eligible for the reward, please sign up on CodeBounty and apply for this bounty. If you apply, your PR will be automatically associated with your application.

@victorhblancom-design victorhblancom-design force-pushed the codex/assignment-email-digests branch from 931fa34 to 8426633 Compare May 28, 2026 02:40
@victorhblancom-design
Copy link
Copy Markdown
Author

I signed up on CodeBounty after opening this PR, but the bot still shows it as not associated. Could you please consider manually associating this PR with bounty #6, or let me know if there is anything missing on the CodeBounty side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Email notifications for task assignments

1 participant