{
  "contact": {
    "id": 5,
    "email": "administratie@warmtebouw.nl",
    "name": "Warmtebouw Onderdelen",
    "phone": null,
    "address": null,
    "company": null,
    "notes": "",
    "created_at": "2026-11-29 19:03:06"
  },
  "threads": [
    {
      "id": 5,
      "account_id": 2,
      "contact_id": 5,
      "subject": "Herinnering: factuur WB-2026-0412 vervallen",
      "status": "open",
      "priority": "Hoog",
      "category": "Factuur",
      "assigned_to": null,
      "unread": 1,
      "last_message_at": "2026-11-28 17:03:00",
      "last_direction": "in",
      "snoozed_until": null,
      "follow_up_at": null,
      "ai": "{\"intent\": \"Betaling regelen of nagaan waarom de factuur nog openstaat.\", \"sentiment\": \"Neutraal\", \"language\": \"Nederlands\", \"needs_human_review\": false, \"is_automated_or_spam\": false, \"contains_invoice\": true, \"reason\": \"Vervallen factuur, risico op incassokosten.\", \"suggested_tasks\": [{\"title\": \"Factuur WB-2026-0412 betalen\", \"due_in_days\": 1}], \"extracted\": {\"name\": \"\", \"phone\": \"\", \"address\": \"\", \"postcode\": \"\", \"city\": \"\", \"company\": \"\", \"reference_numbers\": [], \"preferred_dates\": \"\", \"product\": \"\"}, \"category\": \"Factuur\", \"priority\": \"Hoog\", \"summary\": \"Betalingsherinnering: factuur WB-2026-0412 van € 3.672,35 is 2 dagen over de vervaldatum.\"}",
      "ext_key": null,
      "note": "",
      "first_response_at": null,
      "created_at": "2026-11-28 17:03:00",
      "autoreplied": 0,
      "notified": 0,
      "messages": [
        {
          "direction": "in",
          "from_name": "Warmtebouw Onderdelen",
          "from_email": "administratie@warmtebouw.nl",
          "to": [
            "info@vandijk-installatie.nl"
          ],
          "cc": [],
          "subject": "Herinnering: factuur WB-2026-0412 vervallen",
          "body": "Beste klant,\n\nVolgens onze administratie staat factuur WB-2026-0412 nog open. De vervaldatum is verstreken. Wilt u het bedrag binnen 7 dagen overmaken? In de bijlage de factuur en de specificatie.\n\nMet vriendelijke groet,\nWarmtebouw Onderdelen",
          "sent_at": "2026-11-28 17:03:00",
          "attachments": [
            "Factuur WB-2026-0412.pdf",
            "Specificatie WB-2026-0412.xlsx"
          ]
        }
      ],
      "appointments": []
    }
  ]
}