# Real-World Email Classification Examples

Actual inbox examples from production runs, showing what to classify and what to ignore.

## Order Confirmations → `Rechnungen_jjjj_mm/Bestellungen_jjjj_mm`

| Sender | Subject | Key Body Indicators |
|--------|---------|---------------------|
| `bestellbestaetigung@amazon.de` | "Bestellt: ..." | "Bestellnr.", "Vielen Dank für deine Bestellung" |
| `noreply@cateringexpert.de` | "Bestellung erfolgreich" | "Bestellbestätigung", "Verpflegungsteilnehmer" |

## Shipments/Notifications → IGNORE

| Sender | Subject | Why Ignore |
|--------|---------|------------|
| `shipment-tracking@amazon.de` | "In Zustellung: ..." | Delivery notification, not an order/invoice |
| `versandbestaetigung@amazon.de` | "Versendet: ..." | Shipping confirmation, not order/invoice |
| `order-update@amazon.de` | "zugestellt" / "geliefert" | Delivery complete |
| `rueckgabe@amazon.de` | Any | Return/refund, not an invoice |
| `noreply@dhl.de` | "Sendung liegt" / "Zustellung" | DHL delivery attempt notice |

## Invoices → `Rechnungen_jjjj_mm`

| Sender | Subject | Key Body Indicators |
|--------|---------|---------------------|
| `no-reply@amazon.de` | "Rechnung" / "Rechnung für" | "Rechnungsnummer", "Gesamtbetrag", "Umsatzsteuer" |
| `AmericanExpress@welcome.americanexpress.com` | "Online-Monatsabrechnung" | Credit card statement |

## Credit Memos → `Rechnungen_jjjj_mm/Gutschriften_jjjj_mm`

| Sender | Subject |
|--------|---------|
| Any | Subject contains "Gutschrift" |

## Typical Ignore Categories (never classify)

| Category | Senders | Examples |
|----------|---------|----------|
| **Marketing/Newsletter** | HelloFresh, Lidl, Rewe, Schuh-Schmid, Bestsecret, Metro, mymuesli, aldi-sued | Deal alerts, weekly offers |
| **Social/Job** | `mailrobot@mail.xing.com`, `jobalerts-noreply@linkedin.com`, Facebook, Pinterest | Birthdays, job alerts, connections |
| **Solar/Technical** | `noreply@sunnyportal.com` | Tagesertrag reports, error reports |
| **Shipping Delays** | `noreply@dhl.de` | "verspätet sich" delivery delay notices |
| **Marketing/Newsletter** | HelloFresh, Lidl, Rewe, Schuh-Schmid, Bestsecret, Metro, mymuesli, aldi-sued | Deal alerts, weekly offers |
| **Energy/Utility Promo** | `news@email.eis.de` | "Guthaben verfällt" balance expiry reminders — marketing, not invoice |
| **Payment App Marketing** | `noreply@hello.klarna.com` | "Bleib flexibel" / "Bezahl mit Klarna" — app feature promo, not invoice |
| **Newsletters** | `newsletter@news.reolinksupport.com`, `newsletter@deals.banggood.com` | Product news, deals |
| **System** | `noreply-dmarc-support@google.com` | DMARC reports |
| **Personal** | `ich@dominikschoen.de`, `debug1@grafiniert.de` | Non-business emails |

## Decision Flow

```
1. Does subject contain "Rechnung" or "Gutschrift"?
   → Yes: read body for Rechnung# / Gesamtbetrag → invoice OR gut-schrift
   → No: continue

2. Does subject contain "bestellt" / "bestellung"?
   → Yes: read body
     - Contains "Bestellnr." + "Vielen Dank" → order confirmation
     - Contains "In Zustellung" / "zugestellt" / "versendet" → shipment (ignore)
     - Contains "Rücksendung" / "Erstattung" → return (ignore)

3. Otherwise: IGNORE
```
