Skip to content

feat: bounty search email subscriptions (#1141)#1610

Open
FhiPunkVn wants to merge 1 commit into
bountysource:masterfrom
FhiPunkVn:feat/bounty-email-subscription-1141
Open

feat: bounty search email subscriptions (#1141)#1610
FhiPunkVn wants to merge 1 commit into
bountysource:masterfrom
FhiPunkVn:feat/bounty-email-subscription-1141

Conversation

@FhiPunkVn

Copy link
Copy Markdown

Summary

Implements #1141 — email when a new bounty matches saved search criteria.

What

  • BountyEmailSubscription model: query tokens, min_amount, tracker_name, language
  • API CRUD: /api/user/bounty_email_subscriptions
  • Mailer bounty_search_match (text + html) with unsubscribe category
  • On bounty_placed, async notify matching active subscriptions
  • Spec for matches? criteria

Notes

  • Reuses existing bounty_alerts unsubscribe pattern
  • Does not email the bounty poster
  • Payment / contact: USDC Base 0xfd3600efdfcd6f02c515f93237e2caaff293769f if bounty escrow still active

Test plan

  • Run migration CreateBountyEmailSubscriptions
  • Create subscription via API with query + min_amount
  • Place a matching bounty → email queued
  • Non-matching bounty → no email
  • Unsubscribe category works

@CLAassistant

CLAassistant commented Jul 10, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Add BountyEmailSubscription so users can get email when new bounties
match saved criteria (query, min amount, tracker, language).

- migration + model with matches? criteria
- API CRUD under /api/user/bounty_email_subscriptions
- mailer bounty_search_match + text/html views
- notify on bounty_placed (async)
@FhiPunkVn
FhiPunkVn force-pushed the feat/bounty-email-subscription-1141 branch from f775d63 to 4ba4a4d Compare July 10, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants