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

Maya writes a creditor outreach template named Pending Member Follow-Up. She adds a subject and body with merge fields for creditor profile details, previews the email, and saves it. Later, she edits the same template before using it in a campaign.

Visual Flow

Template Actions

ActionExpected Behavior
CreateSaves a new owned template with name, subject, and body.
PreviewLets the user inspect the email content before using it in a campaign.
EditLoads an owned template back into the form.
DeleteRemoves only an owned template and refreshes the list.

How It Should Work

  • It should require template name, subject, and body.
  • It should keep templates scoped to the logged-in EcoMail Hub user.
  • It should allow preview before sending a campaign.
  • It should preserve embedded image content safely when supported by the editor.

How It Should Not Work

  • It should not let one EcoMail Hub user edit or delete another user’s template.
  • It should not allow duplicate active template names in the same template set.
  • It should not send campaign email from a deleted or missing template.

Developer Notes

  • Template body is validated as markdown/editor content and decoded for inline images.
  • Campaign sends replace supported template fields with creditor profile values.
  • app/Livewire/ConsumerResponseManager/Communications/Template/IndexPage.php
  • app/Livewire/ConsumerResponseManager/Communications/Template/ListView.php
  • app/Livewire/ConsumerResponseManager/Forms/TemplateForm.php
  • app/Services/EcoMailHubTemplateService.php
Last modified on May 26, 2026