> ## Documentation Index
> Fetch the complete documentation index at: https://docs.events-52grad.de/llms.txt
> Use this file to discover all available pages before exploring further.

# Kunden-E-Mails

> GET /api/customer/:customerId/emails

## Request

```
GET /api/customer/{customerId}/emails
Authorization: Bearer {API_SECRET}
```

### Parameter

| Parameter    | Typ  | Beschreibung                  |
| ------------ | ---- | ----------------------------- |
| `customerId` | UUID | ID des Kunden aus `customers` |

## Response (200)

```json theme={null}
{
  "emails": [
    {
      "id": "uuid",
      "direction": "inbound",
      "from_address": {"name": "Max Mustermann", "address": "max@example.com"},
      "subject": "Anfrage Hochzeit Juli",
      "text_body": "...",
      "date": "2026-03-18T10:00:00Z",
      "has_attachments": false,
      "email_attachments": []
    }
  ]
}
```

E-Mails werden nach Datum sortiert (neueste zuerst), limitiert auf 50 Einträge.
