{
  "accounts_classification_source": "default",
  "accounts_classifier": {
    "confidence": "low",
    "effective": false,
    "evidence": [
      "strong accounts wording detected: invoice",
      "supporting payment wording detected: accounts receivable, bill"
    ],
    "invoice_matches": [],
    "medium_keyword_hits": [
      "accounts receivable",
      "bill"
    ],
    "score": 18,
    "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>Helping you get your job done.</p><p>You&#x27;ve received this email as a customer of rswww.com</p><table class=\"message-data-table\"><tbody><tr><td>Dear Customer, \n\n Please find attached your latest document(s) from RS.\n\n Account Number</td><td>Document Date</td><td>Document Number</td><td>Document Total</td><td>Document Type</td></tr><tr><td>46961410</td><td>01.05.2026</td><td>2222106114</td><td>\u00a3106.27</td><td>Invoice</td></tr></tbody></table><p>For all account queries please contact RS Accounts Receivable.</p><p>Tel: 01536 444414<br>Email: CollectionsUK@rs-components.com</p><p>If you have any technical problems retrieving your documents, please contact us on the following:</p><p>Email: rpdf.billing@rs-components.com</p>",
  "body_text": "Helping you get your job done.\n\nYou've received this email as a customer of rswww.com\n\nDear Customer,\n\nPlease find attached your latest document(s) from RS.\n\nAccount Number | Document Date | Document Number | Document Total | Document Type\n46961410 | 01.05.2026 | 2222106114 | \u00a3106.27 | Invoice\nFor all account queries please contact RS Accounts Receivable.\n\nTel: 01536 444414\nEmail: CollectionsUK@rs-components.com\n\nIf you have any technical problems retrieving your documents, please contact us on the following:\n\nEmail: rpdf.billing@rs-components.com",
  "calls_classification_source": "default",
  "calls_override": null,
  "cc_email": "",
  "closed_date": null,
  "contact_email": "collectionsuk@rs-components.com",
  "contact_id": 1977,
  "contact_is_safe": true,
  "contact_name": "<collectionsuk@rs-components.com>",
  "contact_open_url": "/contacts?open=1977&search=collectionsuk%40rs-components.com",
  "contact_type": "",
  "display_body_html": "<p>Helping you get your job done.</p><p>You&#x27;ve received this email as a customer of rswww.com</p><table class=\"message-data-table\"><tbody><tr><td>Dear Customer, \n\n Please find attached your latest document(s) from RS.\n\n Account Number</td><td>Document Date</td><td>Document Number</td><td>Document Total</td><td>Document Type</td></tr><tr><td>46961410</td><td>01.05.2026</td><td>2222106114</td><td>\u00a3106.27</td><td>Invoice</td></tr></tbody></table><p>For all account queries please contact RS Accounts Receivable.</p><p>Tel: 01536 444414<br>Email: CollectionsUK@rs-components.com</p><p>If you have any technical problems retrieving your documents, please contact us on the following:</p><p>Email: rpdf.billing@rs-components.com</p>",
  "display_body_invalid_reason": "",
  "display_body_source": "text/html",
  "display_body_text": "Helping you get your job done.\n\nYou've received this email as a customer of rswww.com\n\nDear Customer,\n\nPlease find attached your latest document(s) from RS.\n\nAccount Number | Document Date | Document Number | Document Total | Document Type\n46961410 | 01.05.2026 | 2222106114 | \u00a3106.27 | Invoice\nFor all account queries please contact RS Accounts Receivable.\n\nTel: 01536 444414\nEmail: CollectionsUK@rs-components.com\n\nIf you have any technical problems retrieving your documents, please contact us on the following:\n\nEmail: rpdf.billing@rs-components.com",
  "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.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "collectionsuk@rs-components.com",
      "entity_value_raw": "CollectionsUK@rs-components.com",
      "extraction_method": "header_parse",
      "id": 759543,
      "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": "rpdf.billing@rs-components.com",
      "entity_value_raw": "rpdf.billing@rs-components.com",
      "extraction_method": "regex",
      "id": 759547,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "email_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 1,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "collectionsuk@rs-components.com",
      "entity_value_raw": "CollectionsUK@rs-components.com",
      "extraction_method": "regex",
      "id": 759544,
      "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": "accounts@mpcservices.co.uk",
      "entity_value_raw": "accounts@mpcservices.co.uk",
      "extraction_method": "header_parse",
      "id": 759545,
      "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": "accounts@mpcservices.co.uk",
      "entity_value_raw": "accounts@mpcservices.co.uk",
      "extraction_method": "regex",
      "id": 759546,
      "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.9100",
      "entity_type": "money_amount",
      "entity_value_normalised": "GBP 106.27",
      "entity_value_raw": "\u00a3106.27",
      "extraction_method": "regex",
      "id": 759548,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "money_amount_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.8600",
      "entity_type": "phone_number",
      "entity_value_normalised": "01536444414",
      "entity_value_raw": "01536 444414",
      "extraction_method": "regex",
      "id": 759549,
      "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"
    }
  ],
  "extracted_entities_json": {
    "counts": {
      "company_name": 0,
      "date": 0,
      "email_address": 3,
      "invoice_reference": 0,
      "job_reference": 0,
      "money_amount": 1,
      "order_reference": 0,
      "person_name": 0,
      "phone_number": 1,
      "po_reference": 0,
      "postcode": 0,
      "quote_reference": 0,
      "url": 0
    },
    "entities": {
      "company_name": [],
      "date": [],
      "email_address": [
        "collectionsuk@rs-components.com",
        "accounts@mpcservices.co.uk",
        "rpdf.billing@rs-components.com"
      ],
      "invoice_reference": [],
      "job_reference": [],
      "money_amount": [
        "GBP 106.27"
      ],
      "order_reference": [],
      "person_name": [],
      "phone_number": [
        "01536444414"
      ],
      "po_reference": [],
      "postcode": [],
      "quote_reference": [],
      "url": []
    },
    "last_processed_at": "2026-05-05T12:01:02Z",
    "primary": {
      "email_address": "collectionsuk@rs-components.com",
      "money_amount": "GBP 106.27",
      "phone_number": "01536444414"
    },
    "version": "v1"
  },
  "from_email": "\"CollectionsUK@rs-components.com\" <CollectionsUK@rs-components.com>",
  "full_message": "Helping you get your job done.\n\nYou've received this email as a customer of rswww.com\n\nDear Customer,\n\nPlease find attached your latest document(s) from RS.\n\nAccount Number | Document Date | Document Number | Document Total | Document Type\n46961410 | 01.05.2026 | 2222106114 | \u00a3106.27 | Invoice\nFor all account queries please contact RS Accounts Receivable.\n\nTel: 01536 444414\nEmail: CollectionsUK@rs-components.com\n\nIf you have any technical problems retrieving your documents, please contact us on the following:\n\nEmail: rpdf.billing@rs-components.com",
  "human_notes": null,
  "human_summary": null,
  "human_title": null,
  "id": 73850,
  "in_reply_to": "",
  "internal_classification_source": "default",
  "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": 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": "e6bb3cd8-2389-4074-9e7e-3958e78c91d4@rs-components.com",
  "primary_action_case": null,
  "primary_company_href": "",
  "primary_company_name": "",
  "received_at": "Tue, 05 May 2026 12:00:39 GMT",
  "safe_classification_source": "rule",
  "snippet": "Helping you get your job done. You've received this email as a customer of rswww.com Dear Customer, Please find attache\u2026",
  "source": "Mailcow IMAP",
  "spam_classification_source": "safe_override",
  "status": "new",
  "subject": "Your latest documents from RS Components 46961410",
  "suggested_company": null,
  "suggested_customerid": null,
  "tags": null,
  "to_email": "\"B/U *\" <accounts@mpcservices.co.uk>",
  "type": "inbound"
}
