> ## 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.

# Secure CFPB EcoLetter Delivery

> ABC Collections sends CFPB validation letters to a group of consumers.

## Real-World Example

ABC Collections sends CFPB validation letters to a group of consumers. The portal should generate secure EcoLetters, notify consumers, and later clean up temporary zip files used for download packages.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Creditor prepares CFPB letters"] --> B["Portal generates secure EcoLetters"]
    B --> C["Consumer records receive letter access"]
    C --> D["Notification communication is dispatched"]
    D --> E["Temporary download files are cleaned up"]
    classDef default fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef actor fill:#E0F2FE,stroke:#0284C7,stroke-width:2px,color:#0C4A6E;
    classDef system fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef decision fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#78350F;
    classDef risk fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D;
    classDef outcome fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D;
    class A actor;
    class B,C,D,E system;
    class E outcome;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should create CFPB letter access only for the intended consumers.
* It should trigger the correct consumer communication after delivery.
* It should clean up temporary zip files after they are no longer needed.

## How It Should Not Work

* It should not expose secure letters across creditor boundaries.
* It should not leave temporary bulk download files around indefinitely.
* It should not mark letters delivered before the secure records exist.

## Developer Notes

* CFPB template setup is the user-facing setup page; secure delivery is the background behavior behind delivery.
* EcoMailbox and campaign tracking can be affected by letter delivery and reading behavior.
* Secure EcoLetter notifications use the same background email/SMS delivery and webhook tracking rules. See [Communication Delivery & Webhooks](/portals/creditor/background-processing/communication-delivery-and-webhooks).

## Related App Areas

* `app/Livewire/Creditor/CFPBRegisterPage.php`
* `app/Jobs/ConsumersDownloadCFPBRegisterLetter.php`
* `app/Jobs/SendSecureEcoLettersJob.php`
* `app/Console/Commands/DeleteCFPBLettersZipFileCommand.php`
