{
  "accounts_classification_source": "default",
  "accounts_classifier": {
    "confidence": "low",
    "effective": false,
    "evidence": [
      "strong accounts wording detected: invoice"
    ],
    "invoice_matches": [],
    "medium_keyword_hits": [],
    "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>Hello,</p><p>Attached to this email is your Moneypenny Invoice for May.</p><p>For a more detailed overview of your service \u2013 including minute usage, call trends, insights and more \u2013 head on over to your online portal .</p><p>As always, if you have any questions, our accounts team are available on 0345 123 3700 or accounts@moneypenny.co.uk to help.</p>",
  "body_text": "Hello,\n\nAttached to this email is your Moneypenny Invoice for May.\n\nFor a more detailed overview of your service \u2013 including minute usage, call trends, insights and more \u2013 head on over to your online portal .\n\nAs always, if you have any questions, our accounts team are available on 0345 123 3700 or accounts@moneypenny.co.uk to help.",
  "calls_classification_source": "rule",
  "calls_override": null,
  "cc_email": "",
  "closed_date": null,
  "contact_email": "accounts@moneypenny.co.uk",
  "contact_id": null,
  "contact_is_safe": false,
  "contact_name": "",
  "contact_open_url": null,
  "contact_type": "",
  "display_body_html": "<p>Hello,</p><p>Attached to this email is your Moneypenny Invoice for May.</p><p>For a more detailed overview of your service \u2013 including minute usage, call trends, insights and more \u2013 head on over to your online portal .</p><p>As always, if you have any questions, our accounts team are available on 0345 123 3700 or accounts@moneypenny.co.uk to help.</p>",
  "display_body_invalid_reason": "",
  "display_body_source": "text/html",
  "display_body_text": "Hello,\n\nAttached to this email is your Moneypenny Invoice for May.\n\nFor a more detailed overview of your service \u2013 including minute usage, call trends, insights and more \u2013 head on over to your online portal .\n\nAs always, if you have any questions, our accounts team are available on 0345 123 3700 or accounts@moneypenny.co.uk to help.",
  "display_body_used_placeholder": false,
  "due_date": null,
  "duplicate_of": null,
  "effective_is_accounts": false,
  "effective_is_calls": true,
  "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": "accounts@moneypenny.co.uk",
      "entity_value_raw": "accounts@moneypenny.co.uk",
      "extraction_method": "header_parse",
      "id": 816784,
      "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.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "accounts@moneypenny.co.uk",
      "entity_value_raw": "accounts@moneypenny.co.uk",
      "extraction_method": "regex",
      "id": 816785,
      "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@mpcservices.co.uk",
      "entity_value_raw": "lukes@mpcservices.co.uk",
      "extraction_method": "header_parse",
      "id": 816786,
      "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@mpcservices.co.uk",
      "entity_value_raw": "lukes@mpcservices.co.uk",
      "extraction_method": "regex",
      "id": 816788,
      "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@mpcservices.co.uk",
      "entity_value_raw": "accounts@mpcservices.co.uk",
      "extraction_method": "header_parse",
      "id": 816787,
      "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@mpcservices.co.uk",
      "entity_value_raw": "accounts@mpcservices.co.uk",
      "extraction_method": "regex",
      "id": 816789,
      "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.8600",
      "entity_type": "phone_number",
      "entity_value_normalised": "03451233700",
      "entity_value_raw": "0345 123 3700",
      "extraction_method": "regex",
      "id": 816790,
      "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": "RTAL",
      "entity_value_raw": "rtal",
      "extraction_method": "regex",
      "id": 816791,
      "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"
    }
  ],
  "extracted_entities_json": {
    "counts": {
      "company_name": 0,
      "date": 0,
      "email_address": 3,
      "invoice_reference": 0,
      "job_reference": 0,
      "money_amount": 0,
      "order_reference": 0,
      "person_name": 0,
      "phone_number": 1,
      "po_reference": 1,
      "postcode": 0,
      "quote_reference": 0,
      "url": 0
    },
    "entities": {
      "company_name": [],
      "date": [],
      "email_address": [
        "accounts@moneypenny.co.uk",
        "lukes@mpcservices.co.uk",
        "accounts@mpcservices.co.uk"
      ],
      "invoice_reference": [],
      "job_reference": [],
      "money_amount": [],
      "order_reference": [],
      "person_name": [],
      "phone_number": [
        "03451233700"
      ],
      "po_reference": [
        "RTAL"
      ],
      "postcode": [],
      "quote_reference": [],
      "url": []
    },
    "last_processed_at": "2026-05-11T17:02:04Z",
    "primary": {
      "email_address": "accounts@moneypenny.co.uk",
      "phone_number": "03451233700",
      "po_reference": "RTAL"
    },
    "version": "v1"
  },
  "from_email": "\"Moneypenny\" <accounts@moneypenny.co.uk>",
  "full_message": "Hello,\n\nAttached to this email is your Moneypenny Invoice for May.\n\nFor a more detailed overview of your service \u2013 including minute usage, call trends, insights and more \u2013 head on over to your online portal .\n\nAs always, if you have any questions, our accounts team are available on 0345 123 3700 or accounts@moneypenny.co.uk to help.",
  "human_notes": null,
  "human_summary": null,
  "human_title": null,
  "id": 78011,
  "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": true,
  "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": "abd869a0-ebcb-4795-aa6a-62ce6dbbb2f1@DU2PEPF00028D06.eurprd03.prod.outlook.com",
  "primary_action_case": null,
  "primary_company_href": "",
  "primary_company_name": "",
  "received_at": "Mon, 11 May 2026 17:01:28 GMT",
  "safe_classification_source": "rule",
  "snippet": "Hello, Attached to this email is your Moneypenny Invoice for May. For a more detailed overview of your service \u2013 includ\u2026",
  "source": "Mailcow IMAP",
  "spam_classification_source": "safe_override",
  "status": "new",
  "subject": "Your Moneypenny Invoice for Account No. 78316 - May 2026",
  "suggested_company": null,
  "suggested_customerid": null,
  "tags": null,
  "to_email": "lukes@mpcservices.co.uk, accounts@mpcservices.co.uk",
  "type": "inbound"
}
