Skip to content

feat: one-click unsubscribe — token-based flow #30

Description

@nimit2801

Summary

Every email needs a working unsubscribe link. Build a token-based unsubscribe flow.

Scope

  • Add unsubscribe_token uuid column to subscribers table (migration)
  • Generate token on insert (gen_random_uuid())
  • New GET /api/unsubscribe?token=xxx route — sets unsubscribed_at, returns confirmation page
  • Embed unsubscribe link in all email templates
  • Optional: /unsubscribed page with brand styling confirming removal

Effort: 3 points

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions