{
  "accounts_classification_source": "default",
  "accounts_classifier": {
    "confidence": "low",
    "effective": false,
    "evidence": [
      "strong accounts wording detected: invoice"
    ],
    "invoice_matches": [],
    "medium_keyword_hits": [
      "payment"
    ],
    "score": 10,
    "strong_keyword_hits": [
      "invoice"
    ]
  },
  "accounts_override": null,
  "ai_count": 0,
  "ai_last_error": null,
  "ai_last_processed_at": null,
  "ai_processing": false,
  "ai_processing_started_at": null,
  "ai_textfield": null,
  "allocated_date": null,
  "allocated_to": "",
  "body_html": "<p>Hi Luke</p><p>This is the chap I was on about today, please see attached invoices and PO for these attached<br>\ud83d\ude0a</p><p>I would really like to talk to him about more work (installs) as he seems well placed for us.</p><p>Email<br>info@haighgroupltd.co.uk</p><p>Telephone<br>01989 763131</p><p>The Haigh Group Ltd.</p><p>Alton Road, Ross-on-Wye, Herefordshire, HR9 5NG.</p><p>Registration number 00639089. VAT number GB 134 1449 90.</p><p>Please request a Purchase Order from our team if we are buying goods or services from you \u2013 this helps ensure compliance and prompt payment.</p><p>Our standard terms and conditions of sale apply unless otherwise agreed in writing with an authorised member of staff.</p>",
  "body_text": "Hi Luke\n\nThis is the chap I was on about today, please see attached invoices and PO for these attached\n\ud83d\ude0a\n\nI would really like to talk to him about more work (installs) as he seems well placed for us.\n\nEmail\ninfo@haighgroupltd.co.uk\n\nTelephone\n01989 763131\n\nThe Haigh Group Ltd.\n\nAlton Road, Ross-on-Wye, Herefordshire, HR9 5NG.\n\nRegistration number 00639089. VAT number GB 134 1449 90.\n\nPlease request a Purchase Order from our team if we are buying goods or services from you \u2013 this helps ensure compliance and prompt payment.\n\nOur standard terms and conditions of sale apply unless otherwise agreed in writing with an authorised member of staff.",
  "calls_classification_source": "default",
  "calls_override": null,
  "cc_email": "",
  "closed_date": null,
  "contact_email": "mmarriott@haighgroupltd.co.uk",
  "contact_id": 63,
  "contact_is_safe": false,
  "contact_name": "Michelle Marriott",
  "contact_open_url": "/contacts?open=63&search=mmarriott%40haighgroupltd.co.uk",
  "contact_type": "other",
  "display_body_html": "<p>Hi Luke</p><p>This is the chap I was on about today, please see attached invoices and PO for these attached<br>\ud83d\ude0a</p><p>I would really like to talk to him about more work (installs) as he seems well placed for us.</p><p>Email<br>info@haighgroupltd.co.uk</p><p>Telephone<br>01989 763131</p><p>The Haigh Group Ltd.</p><p>Alton Road, Ross-on-Wye, Herefordshire, HR9 5NG.</p><p>Registration number 00639089. VAT number GB 134 1449 90.</p><p>Please request a Purchase Order from our team if we are buying goods or services from you \u2013 this helps ensure compliance and prompt payment.</p><p>Our standard terms and conditions of sale apply unless otherwise agreed in writing with an authorised member of staff.</p>",
  "display_body_invalid_reason": "",
  "display_body_source": "text/html",
  "display_body_text": "Hi Luke\n\nThis is the chap I was on about today, please see attached invoices and PO for these attached\n\ud83d\ude0a\n\nI would really like to talk to him about more work (installs) as he seems well placed for us.\n\nEmail\ninfo@haighgroupltd.co.uk\n\nTelephone\n01989 763131\n\nThe Haigh Group Ltd.\n\nAlton Road, Ross-on-Wye, Herefordshire, HR9 5NG.\n\nRegistration number 00639089. VAT number GB 134 1449 90.\n\nPlease request a Purchase Order from our team if we are buying goods or services from you \u2013 this helps ensure compliance and prompt payment.\n\nOur standard terms and conditions of sale apply unless otherwise agreed in writing with an authorised member of staff.",
  "display_body_used_placeholder": false,
  "due_date": null,
  "duplicate_of": null,
  "effective_is_accounts": false,
  "effective_is_calls": false,
  "effective_is_internal": true,
  "effective_is_safe": true,
  "effective_is_spam": false,
  "escalated_date": null,
  "escalted_to": null,
  "extracted_entities": [
    {
      "confidence": "0.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "mmarriott@haighgroupltd.co.uk",
      "entity_value_raw": "mmarriott@haighgroupltd.co.uk",
      "extraction_method": "header_parse",
      "id": 1050549,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_address_parse",
      "rule_version": "v1",
      "source_area": "from_header",
      "source_index": 0,
      "source_subarea": "address"
    },
    {
      "confidence": "0.9200",
      "entity_type": "email_address",
      "entity_value_normalised": "info@haighgroupltd.co.uk",
      "entity_value_raw": "info@haighgroupltd.co.uk",
      "extraction_method": "regex",
      "id": 1050557,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "email_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "mmarriott@haighgroupltd.co.uk",
      "entity_value_raw": "mmarriott@haighgroupltd.co.uk",
      "extraction_method": "regex",
      "id": 1050551,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_email_regex",
      "rule_version": "v1",
      "source_area": "from_header",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "lukes@hec.co.uk",
      "entity_value_raw": "lukes@hec.co.uk",
      "extraction_method": "header_parse",
      "id": 1050552,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_address_parse",
      "rule_version": "v1",
      "source_area": "to_header",
      "source_index": 0,
      "source_subarea": "address"
    },
    {
      "confidence": "0.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "lukes@hec.co.uk",
      "entity_value_raw": "lukes@hec.co.uk",
      "extraction_method": "regex",
      "id": 1050555,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_email_regex",
      "rule_version": "v1",
      "source_area": "to_header",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "accounts@hec.co.uk",
      "entity_value_raw": "accounts@hec.co.uk",
      "extraction_method": "header_parse",
      "id": 1050554,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_address_parse",
      "rule_version": "v1",
      "source_area": "to_header",
      "source_index": 1,
      "source_subarea": "address"
    },
    {
      "confidence": "0.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "accounts@hec.co.uk",
      "entity_value_raw": "accounts@hec.co.uk",
      "extraction_method": "regex",
      "id": 1050556,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_email_regex",
      "rule_version": "v1",
      "source_area": "to_header",
      "source_index": 1,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9400",
      "entity_type": "order_reference",
      "entity_value_normalised": "FROM",
      "entity_value_raw": "from",
      "extraction_method": "regex",
      "id": 1050562,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "order_keyword_alnum",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9300",
      "entity_type": "person_name",
      "entity_value_normalised": "Michelle Marriott",
      "entity_value_raw": "Michelle Marriott",
      "extraction_method": "header_parse",
      "id": 1050550,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_display_person",
      "rule_version": "v1",
      "source_area": "from_header",
      "source_index": 0,
      "source_subarea": "display_name"
    },
    {
      "confidence": "0.8600",
      "entity_type": "person_name",
      "entity_value_normalised": "Luke Shepherd",
      "entity_value_raw": "Luke Shepherd",
      "extraction_method": "header_parse",
      "id": 1050553,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_display_person",
      "rule_version": "v1",
      "source_area": "to_header",
      "source_index": 0,
      "source_subarea": "display_name"
    },
    {
      "confidence": "0.8600",
      "entity_type": "phone_number",
      "entity_value_normalised": "01989763131",
      "entity_value_raw": "01989 763131",
      "extraction_method": "regex",
      "id": 1050559,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "phone_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9600",
      "entity_type": "po_reference",
      "entity_value_normalised": "FOR",
      "entity_value_raw": "for",
      "extraction_method": "regex",
      "id": 1050560,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "po_keyword_alnum",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9600",
      "entity_type": "po_reference",
      "entity_value_normalised": "FROM",
      "entity_value_raw": "from",
      "extraction_method": "regex",
      "id": 1050561,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "po_keyword_alnum",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 1,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9500",
      "entity_type": "postcode",
      "entity_value_normalised": "HR9 5NG",
      "entity_value_raw": "HR9 5NG",
      "extraction_method": "regex",
      "id": 1050558,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "uk_postcode_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    }
  ],
  "extracted_entities_json": {
    "counts": {
      "company_name": 0,
      "date": 0,
      "email_address": 4,
      "invoice_reference": 0,
      "job_reference": 0,
      "money_amount": 0,
      "order_reference": 1,
      "person_name": 2,
      "phone_number": 1,
      "po_reference": 2,
      "postcode": 1,
      "quote_reference": 0,
      "url": 0
    },
    "entities": {
      "company_name": [],
      "date": [],
      "email_address": [
        "mmarriott@haighgroupltd.co.uk",
        "lukes@hec.co.uk",
        "accounts@hec.co.uk",
        "info@haighgroupltd.co.uk"
      ],
      "invoice_reference": [],
      "job_reference": [],
      "money_amount": [],
      "order_reference": [
        "FROM"
      ],
      "person_name": [
        "Michelle Marriott",
        "Luke Shepherd"
      ],
      "phone_number": [
        "01989763131"
      ],
      "po_reference": [
        "FOR",
        "FROM"
      ],
      "postcode": [
        "HR9 5NG"
      ],
      "quote_reference": [],
      "url": []
    },
    "last_processed_at": "2026-05-28T20:12:30Z",
    "primary": {
      "email_address": "mmarriott@haighgroupltd.co.uk",
      "order_reference": "FROM",
      "person_name": "Michelle Marriott",
      "phone_number": "01989763131",
      "po_reference": "FOR",
      "postcode": "HR9 5NG"
    },
    "version": "v1"
  },
  "from_email": "Michelle Marriott <mmarriott@haighgroupltd.co.uk>",
  "full_message": "Hi Luke\n\nThis is the chap I was on about today, please see attached invoices and PO for these attached\n\ud83d\ude0a\n\nI would really like to talk to him about more work (installs) as he seems well placed for us.\n\nEmail\ninfo@haighgroupltd.co.uk\n\nTelephone\n01989 763131\n\nThe Haigh Group Ltd.\n\nAlton Road, Ross-on-Wye, Herefordshire, HR9 5NG.\n\nRegistration number 00639089. VAT number GB 134 1449 90.\n\nPlease request a Purchase Order from our team if we are buying goods or services from you \u2013 this helps ensure compliance and prompt payment.\n\nOur standard terms and conditions of sale apply unless otherwise agreed in writing with an authorised member of staff.",
  "human_notes": null,
  "human_summary": null,
  "human_title": null,
  "id": 91727,
  "in_reply_to": "",
  "internal_classification_source": "rule",
  "internal_override": null,
  "is_accounts": false,
  "is_accounts_inbox_recipient": true,
  "is_action_required": false,
  "is_ai": false,
  "is_calls": false,
  "is_closed": false,
  "is_complaint": false,
  "is_duplicate": false,
  "is_escalated": false,
  "is_flagged": false,
  "is_internal": true,
  "is_lead": false,
  "is_newemailaddr": false,
  "is_opportunity": false,
  "is_private": false,
  "is_shared": true,
  "is_shared_inbox_recipient": false,
  "is_spam": false,
  "is_transaction": false,
  "message_id": "VI1PR08MB3998030B9ECACA1545D30552E3092@VI1PR08MB3998.eurprd08.prod.outlook.com",
  "primary_action_case": null,
  "primary_company_href": "/quotetemplate/?page=1&mode=service&q=4608756",
  "primary_company_name": "Haigh Group Ltd",
  "received_at": "Thu, 28 May 2026 20:12:11 GMT",
  "safe_classification_source": "rule",
  "snippet": "Hi Luke This is the chap I was on about today, please see attached invoices and PO for these attached \ud83d\ude0a I would really\u2026",
  "source": "Mailcow IMAP",
  "spam_classification_source": "safe_override",
  "status": "new",
  "subject": "Abbeywood Construction - please can you arrange a speedy (next week)\r\n payment",
  "suggested_company": null,
  "suggested_customerid": null,
  "tags": null,
  "to_email": "Luke Shepherd <lukes@hec.co.uk>, \"accounts@hec.co.uk\" <accounts@hec.co.uk>",
  "type": "inbound"
}
