{
  "accounts_classification_source": "default",
  "accounts_classifier": {
    "confidence": "low",
    "effective": false,
    "evidence": [
      "strong accounts wording detected: invoice, statement",
      "supporting payment wording detected: payment, bank transfer"
    ],
    "invoice_matches": [],
    "medium_keyword_hits": [
      "payment",
      "bank transfer"
    ],
    "score": 28,
    "strong_keyword_hits": [
      "invoice",
      "statement"
    ]
  },
  "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>Please see the attached statement from Cleansing Service Group.</p><p>Should you wish to pay by bank transfer or online please see our bank details below:</p><p>Account Name: Cleansing Service Group Ltd.<br>Bank Sort Code: 40-42-18<br>Bank Account No: 32260905<br>Reference: MP1137</p><p>Alternatively visit our website at www.csg.co.uk/pay or call 01489 776312 to make a debit or credit card payment.</p><p>Direct Debit<br>If you wish to pay by Direct Debit please visit www.csg.co.uk/resources print and send a completed original form to the address below.</p><p>If you have any queries in respect of your invoices then please contact credit@csg.co.uk.</p><p>Cleansing Service Group<br>Fusion 3<br>1200 Parkway<br>Whiteley<br>Fareham<br>Hampshire<br>PO15 7AD<br>Tel: 01489 776312<br>Fax: 01489 881369<br>E-mail: credit@csg.co.uk<br>Web: www.csg.co.uk</p><p>Disclaimer</p>",
  "body_text": "Please see the attached statement from Cleansing Service Group.\n\nShould you wish to pay by bank transfer or online please see our bank details below:\n\nAccount Name: Cleansing Service Group Ltd.\nBank Sort Code: 40-42-18\nBank Account No: 32260905\nReference: MP1137\n\nAlternatively visit our website at www.csg.co.uk/pay or call 01489 776312 to make a debit or credit card payment.\n\nDirect Debit\nIf you wish to pay by Direct Debit please visit www.csg.co.uk/resources print and send a completed original form to the address below.\n\nIf you have any queries in respect of your invoices then please contact credit@csg.co.uk.\n\nCleansing Service Group\nFusion 3\n1200 Parkway\nWhiteley\nFareham\nHampshire\nPO15 7AD\nTel: 01489 776312\nFax: 01489 881369\nE-mail: credit@csg.co.uk\nWeb: www.csg.co.uk\n\nDisclaimer",
  "calls_classification_source": "default",
  "calls_override": null,
  "cc_email": "",
  "closed_date": null,
  "contact_email": "accounts@csg.co.uk",
  "contact_id": 1976,
  "contact_is_safe": true,
  "contact_name": "\"CSG Ltd\" <accounts@csg.co.uk>",
  "contact_open_url": "/contacts?open=1976&search=accounts%40csg.co.uk",
  "contact_type": "",
  "display_body_html": "<p>Please see the attached statement from Cleansing Service Group.</p><p>Should you wish to pay by bank transfer or online please see our bank details below:</p><p>Account Name: Cleansing Service Group Ltd.<br>Bank Sort Code: 40-42-18<br>Bank Account No: 32260905<br>Reference: MP1137</p><p>Alternatively visit our website at www.csg.co.uk/pay or call 01489 776312 to make a debit or credit card payment.</p><p>Direct Debit<br>If you wish to pay by Direct Debit please visit www.csg.co.uk/resources print and send a completed original form to the address below.</p><p>If you have any queries in respect of your invoices then please contact credit@csg.co.uk.</p><p>Cleansing Service Group<br>Fusion 3<br>1200 Parkway<br>Whiteley<br>Fareham<br>Hampshire<br>PO15 7AD<br>Tel: 01489 776312<br>Fax: 01489 881369<br>E-mail: credit@csg.co.uk<br>Web: www.csg.co.uk</p><p>Disclaimer</p>",
  "display_body_invalid_reason": "",
  "display_body_source": "text/html",
  "display_body_text": "Please see the attached statement from Cleansing Service Group.\n\nShould you wish to pay by bank transfer or online please see our bank details below:\n\nAccount Name: Cleansing Service Group Ltd.\nBank Sort Code: 40-42-18\nBank Account No: 32260905\nReference: MP1137\n\nAlternatively visit our website at www.csg.co.uk/pay or call 01489 776312 to make a debit or credit card payment.\n\nDirect Debit\nIf you wish to pay by Direct Debit please visit www.csg.co.uk/resources print and send a completed original form to the address below.\n\nIf you have any queries in respect of your invoices then please contact credit@csg.co.uk.\n\nCleansing Service Group\nFusion 3\n1200 Parkway\nWhiteley\nFareham\nHampshire\nPO15 7AD\nTel: 01489 776312\nFax: 01489 881369\nE-mail: credit@csg.co.uk\nWeb: www.csg.co.uk\n\nDisclaimer",
  "display_body_used_placeholder": false,
  "due_date": null,
  "duplicate_of": null,
  "effective_is_accounts": false,
  "effective_is_calls": false,
  "effective_is_internal": false,
  "effective_is_safe": true,
  "effective_is_spam": false,
  "escalated_date": null,
  "escalted_to": null,
  "extracted_entities": [
    {
      "confidence": "0.9400",
      "entity_type": "company_name",
      "entity_value_normalised": "CSG Ltd",
      "entity_value_raw": "CSG Ltd",
      "extraction_method": "header_parse",
      "id": 785304,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_display_company",
      "rule_version": "v1",
      "source_area": "from_header",
      "source_index": 0,
      "source_subarea": "display_name"
    },
    {
      "confidence": "0.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "accounts@csg.co.uk",
      "entity_value_raw": "accounts@csg.co.uk",
      "extraction_method": "header_parse",
      "id": 785303,
      "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": "credit@csg.co.uk",
      "entity_value_raw": "credit@csg.co.uk",
      "extraction_method": "regex",
      "id": 785308,
      "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": "accounts@csg.co.uk",
      "entity_value_raw": "accounts@csg.co.uk",
      "extraction_method": "regex",
      "id": 785305,
      "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": "robp@hec.co.uk",
      "entity_value_raw": "robp@hec.co.uk",
      "extraction_method": "header_parse",
      "id": 785306,
      "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": "robp@hec.co.uk",
      "entity_value_raw": "robp@hec.co.uk",
      "extraction_method": "regex",
      "id": 785307,
      "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.8600",
      "entity_type": "phone_number",
      "entity_value_normalised": "01489776312",
      "entity_value_raw": "01489 776312",
      "extraction_method": "regex",
      "id": 785313,
      "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.8600",
      "entity_type": "phone_number",
      "entity_value_normalised": "01489881369",
      "entity_value_raw": "01489 881369",
      "extraction_method": "regex",
      "id": 785314,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "phone_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 2,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9500",
      "entity_type": "postcode",
      "entity_value_normalised": "PO15 7AD",
      "entity_value_raw": "PO15 7AD",
      "extraction_method": "regex",
      "id": 785312,
      "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"
    },
    {
      "confidence": "0.9300",
      "entity_type": "url",
      "entity_value_normalised": "www.csg.co.uk/pay",
      "entity_value_raw": "www.csg.co.uk/pay",
      "extraction_method": "regex",
      "id": 785309,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "url_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9300",
      "entity_type": "url",
      "entity_value_normalised": "www.csg.co.uk/resources",
      "entity_value_raw": "www.csg.co.uk/resources",
      "extraction_method": "regex",
      "id": 785310,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "url_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 1,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9300",
      "entity_type": "url",
      "entity_value_normalised": "www.csg.co.uk",
      "entity_value_raw": "www.csg.co.uk",
      "extraction_method": "regex",
      "id": 785311,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "url_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 2,
      "source_subarea": "regex"
    }
  ],
  "extracted_entities_json": {
    "counts": {
      "company_name": 1,
      "date": 0,
      "email_address": 3,
      "invoice_reference": 0,
      "job_reference": 0,
      "money_amount": 0,
      "order_reference": 0,
      "person_name": 0,
      "phone_number": 2,
      "po_reference": 0,
      "postcode": 1,
      "quote_reference": 0,
      "url": 3
    },
    "entities": {
      "company_name": [
        "CSG Ltd"
      ],
      "date": [],
      "email_address": [
        "accounts@csg.co.uk",
        "robp@hec.co.uk",
        "credit@csg.co.uk"
      ],
      "invoice_reference": [],
      "job_reference": [],
      "money_amount": [],
      "order_reference": [],
      "person_name": [],
      "phone_number": [
        "01489776312",
        "01489881369"
      ],
      "po_reference": [],
      "postcode": [
        "PO15 7AD"
      ],
      "quote_reference": [],
      "url": [
        "www.csg.co.uk/pay",
        "www.csg.co.uk/resources",
        "www.csg.co.uk"
      ]
    },
    "last_processed_at": "2026-05-07T11:33:06Z",
    "primary": {
      "company_name": "CSG Ltd",
      "email_address": "accounts@csg.co.uk",
      "phone_number": "01489776312",
      "postcode": "PO15 7AD",
      "url": "www.csg.co.uk/pay"
    },
    "version": "v1"
  },
  "from_email": "\"CSG Ltd\" <accounts@csg.co.uk>",
  "full_message": "Please see the attached statement from Cleansing Service Group.\n\nShould you wish to pay by bank transfer or online please see our bank details below:\n\nAccount Name: Cleansing Service Group Ltd.\nBank Sort Code: 40-42-18\nBank Account No: 32260905\nReference: MP1137\n\nAlternatively visit our website at www.csg.co.uk/pay or call 01489 776312 to make a debit or credit card payment.\n\nDirect Debit\nIf you wish to pay by Direct Debit please visit www.csg.co.uk/resources print and send a completed original form to the address below.\n\nIf you have any queries in respect of your invoices then please contact credit@csg.co.uk.\n\nCleansing Service Group\nFusion 3\n1200 Parkway\nWhiteley\nFareham\nHampshire\nPO15 7AD\nTel: 01489 776312\nFax: 01489 881369\nE-mail: credit@csg.co.uk\nWeb: www.csg.co.uk\n\nDisclaimer",
  "human_notes": null,
  "human_summary": null,
  "human_title": null,
  "id": 75768,
  "in_reply_to": "",
  "internal_classification_source": "default",
  "internal_override": null,
  "is_accounts": false,
  "is_accounts_inbox_recipient": false,
  "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": false,
  "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": "20260507.123246.0229-AFM0G0FWASX@PROD-02.CSG.local",
  "primary_action_case": null,
  "primary_company_href": "",
  "primary_company_name": "",
  "received_at": "Thu, 07 May 2026 11:32:46 GMT",
  "safe_classification_source": "rule",
  "snippet": "Please see the attached statement from Cleansing Service Group. Should you wish to pay by bank transfer or online pleas\u2026",
  "source": "Mailcow IMAP",
  "spam_classification_source": "safe_override",
  "status": "new",
  "subject": "Account MP1137 Statement from Cleansing Service Group",
  "suggested_company": null,
  "suggested_customerid": null,
  "tags": null,
  "to_email": "<robp@hec.co.uk>",
  "type": "inbound"
}
