Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt

Use this file to discover all available pages before exploring further.

Real-World Example

Jane clicks unsubscribe from a campaign email. The portal should verify the signed unsubscribe data, update her email preference, and prevent future optional email campaigns that must respect that opt-out.

Visual Flow

How It Should Work

  • It should let consumers unsubscribe from eligible email communications through a safe signed link.
  • It should update the correct consumer communication preference.
  • It should affect future campaign and scheduled communication sending where opt-out applies.

How It Should Not Work

  • It should not unsubscribe the wrong consumer.
  • It should not accept tampered unsubscribe data.
  • It should not ignore unsubscribe state in campaign or follow-up jobs.

Developer Notes

  • Unsubscribe is a public signed route that feeds communication delivery rules.
  • Campaign and scheduled communication jobs must continue checking opt-out state.
  • routes/consumer/index.php
  • app/Http/Controllers/Consumer/ConsumerUnsubscribeEmailController.php
  • app/Jobs/SendSingleCampaignMessageJob.php
  • app/Console/Commands/ProcessScheduledCommunicationsCommand.php
Last modified on May 25, 2026