{
  "contact": {
    "id": 4,
    "email": "facturen@groothandel-midden.nl",
    "name": "Installatiegroothandel Midden",
    "phone": null,
    "address": null,
    "company": null,
    "notes": "",
    "created_at": "2026-11-29 19:03:05"
  },
  "threads": [
    {
      "id": 4,
      "account_id": 2,
      "contact_id": 4,
      "subject": "Factuur F2026-11873",
      "status": "open",
      "priority": "Laag",
      "category": "Factuur",
      "assigned_to": null,
      "unread": 0,
      "last_message_at": "2026-11-28 23:03:00",
      "last_direction": "in",
      "snoozed_until": null,
      "follow_up_at": null,
      "ai": "{\"intent\": \"Factuur controleren en doorzetten naar de boekhouding.\", \"sentiment\": \"Neutraal\", \"language\": \"Nederlands\", \"needs_human_review\": false, \"is_automated_or_spam\": false, \"contains_invoice\": true, \"reason\": \"\", \"suggested_tasks\": [], \"extracted\": {\"name\": \"\", \"phone\": \"\", \"address\": \"\", \"postcode\": \"\", \"city\": \"\", \"company\": \"\", \"reference_numbers\": [], \"preferred_dates\": \"\", \"product\": \"\"}, \"category\": \"Factuur\", \"priority\": \"Laag\", \"summary\": \"Inkoopfactuur van de groothandel voor een Intergas-ketel en materialen.\"}",
      "ext_key": null,
      "note": "",
      "first_response_at": null,
      "created_at": "2026-11-28 23:03:00",
      "autoreplied": 0,
      "notified": 0,
      "messages": [
        {
          "direction": "in",
          "from_name": "Installatiegroothandel Midden",
          "from_email": "facturen@groothandel-midden.nl",
          "to": [
            "info@vandijk-installatie.nl"
          ],
          "cc": [],
          "subject": "Factuur F2026-11873",
          "body": "Geachte relatie,\n\nIn de bijlage vindt u factuur F2026-11873 voor uw bestelling van gisteren.\n\nMet vriendelijke groet,\nAfdeling debiteuren",
          "sent_at": "2026-11-28 23:03:00",
          "attachments": [
            "Factuur F2026-11873.pdf"
          ]
        }
      ],
      "appointments": []
    }
  ]
}