# v0.1.9 Friendly Email Alerts

This version replaces the raw JSON-heavy owner/dispatcher email with a clean lead summary email.

## What changed

- Email subject now uses the lead details, for example:
  - `Urgent: Wasps around front of house - Westland`
- Email body now shows:
  - Customer
  - Phone
  - Service needed
  - Address
  - City
  - Property type
  - Urgency
  - Preferred time
  - Status
  - Recommended action
  - AI summary
  - Dashboard button/link
  - Transcript, only if available
- Raw debug JSON is hidden by default.

## Optional debug mode

If you ever need the full JSON inside the email again for troubleshooting, add this to `.env`:

```env
EMAIL_INCLUDE_RAW_JSON=true
```

Leave it off or set it to false for normal client use:

```env
EMAIL_INCLUDE_RAW_JSON=false
```

## Optional from address

You can control the visible from address with:

```env
SMTP_FROM="Fallback Front Desk <alerts@recovermissedcall.com>"
```

If `SMTP_FROM` is not set, the app uses `SMTP_USER`.
