{
  "accounts_classification_source": "classifier",
  "accounts_classifier": {
    "confidence": "high",
    "effective": true,
    "evidence": [
      "invoice reference 16881874 matched the email content",
      "strong accounts wording detected: invoice"
    ],
    "invoice_matches": [
      {
        "evidence": "subject contained invoice reference 16881874",
        "match_text": "Invoice 16881874",
        "score": 96,
        "source": "subject",
        "sources": [
          "subject"
        ],
        "value": 16881874
      }
    ],
    "medium_keyword_hits": [],
    "score": 84,
    "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": "<div style=\"padding:0px;max-width:700px;min-width:320px;margin:0 auto;display:block;background-color:#ffffff;text-align:left;border:1px solid #999\">      <table cellpadding=\"0px\" cellspacing=\"0px\" width=\"100%\" style=\"max-width:100%;min-width:30%;display:block;min-width:320px\">       <tbody>         <tr>           <td style=\"background:#df002b;color:#fff\" width=\"506\">             <p style=\"line-height:140%;font-size:20px;font-family:Helvetica Neue,Arial,sans-serif;padding:20px 30px 0 30px\">Thanks             for your business!</p>             <p style=\"color:#fff;line-height:140%;font-size:16px;font-family:Helvetica Neue,Arial,sans-serif;padding:5px 30px 0 30px;font-weight:bold\">             Please find attached your latest invoice.</p>             <p style=\"color:#fff;line-height:140%;font-size:14px;font-family:Helvetica Neue,Arial,sans-serif;padding:10px 30px 0 30px\">             We&#39;d like to take this opportunity to thank you for your continued business.</p>             <p style=\"color:#fff;line-height:140%;font-size:14px;font-family:Helvetica Neue,Arial,sans-serif;padding:10px 30px 0 30px\">             If you have any queries, please feel free to drop us an email to             <a href=\"mailto:dpd.credit@dpd.co.uk\" style=\"color:#FFFFFF;font-weight:bold\">dpd.credit@dpd.co.uk</a></p>             <p style=\"color:#fff;line-height:140%;font-size:14px;font-family:Helvetica Neue,Arial,sans-serif;padding:10px 30px 0 30px\">             Kind regards,</p>             <p style=\"color:#fff;line-height:140%;font-size:14px;font-family:Helvetica Neue,Arial,sans-serif;padding:10px 30px 20px 30px;\">                <a href=\"http://www.dpd.co.uk\" style=\"color:#FFFFFF;font-weight:bold;\">DPD</a>             </p>           </td>           <td>             <a href=\"http://www.dpd.co.uk\">               <img style=\"padding:0;max-width:100%;min-width:30%;display:block;min-width:150px\"               src=\"http://storage.pardot.com/269632/50909/dpdlogosidenav.png\" alt=\"DPD\" />             </a>           </td>         </tr>       </tbody>     </table>   </div>",
  "body_text": "Thanks for your business!\n\nPlease find attached your latest invoice\n\nWe'd like to take this opportunity to thank you for your continued business.\n\nIf you have any queries, please feel free to drop us an email to dpd.credit@dpd.co.uk\n\nKind regards,\n\nDPD\nThanks             for your business!\n\n                          Please find attached your latest invoice.\n\n                          We'd like to take this opportunity to thank you for your continued business.\n\n                          If you have any queries, please feel free to drop us an email to             dpd.credit@dpd.co.uk\n\n                          Kind regards,\n\n                             DPD",
  "calls_classification_source": "default",
  "calls_override": null,
  "cc_email": "",
  "closed_date": null,
  "contact_email": "fatoumatta.sanneh@dpd.co.uk",
  "contact_id": 1420,
  "contact_is_safe": false,
  "contact_name": "Fatoumatta Sanneh",
  "contact_open_url": "/contacts?open=1420&search=fatoumatta.sanneh%40dpd.co.uk",
  "contact_type": "b2b",
  "display_body_html": "<p>Thanks for your business!</p><p>Please find attached your latest invoice.</p><p>We&#x27;d like to take this opportunity to thank you for your continued business.</p><p>If you have any queries, please feel free to drop us an email to dpd.credit@dpd.co.uk</p>",
  "display_body_invalid_reason": "",
  "display_body_source": "text/html",
  "display_body_text": "Thanks for your business!\n\nPlease find attached your latest invoice.\n\nWe'd like to take this opportunity to thank you for your continued business.\n\nIf you have any queries, please feel free to drop us an email to dpd.credit@dpd.co.uk",
  "display_body_used_placeholder": false,
  "due_date": null,
  "duplicate_of": null,
  "effective_is_accounts": true,
  "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": "fatoumatta.sanneh@dpd.co.uk",
      "entity_value_raw": "fatoumatta.sanneh@dpd.co.uk",
      "extraction_method": "header_parse",
      "id": 559065,
      "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": "fatoumatta.sanneh@dpd.co.uk",
      "entity_value_raw": "fatoumatta.sanneh@dpd.co.uk",
      "extraction_method": "regex",
      "id": 559066,
      "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.9200",
      "entity_type": "email_address",
      "entity_value_normalised": "dpd.credit@dpd.co.uk",
      "entity_value_raw": "dpd.credit@dpd.co.uk",
      "extraction_method": "regex",
      "id": 559072,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "email_regex",
      "rule_version": "v1",
      "source_area": "snippet",
      "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": 559067,
      "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": 559069,
      "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": "mcooke@haigh.co.uk",
      "entity_value_raw": "mcooke@haigh.co.uk",
      "extraction_method": "header_parse",
      "id": 559068,
      "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": "mcooke@haigh.co.uk",
      "entity_value_raw": "mcooke@haigh.co.uk",
      "extraction_method": "regex",
      "id": 559070,
      "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.9600",
      "entity_type": "invoice_reference",
      "entity_value_normalised": "16881874",
      "entity_value_raw": "16881874",
      "extraction_method": "regex",
      "id": 559071,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "invoice_keyword_numeric",
      "rule_version": "v1",
      "source_area": "subject",
      "source_index": 0,
      "source_subarea": "regex"
    }
  ],
  "extracted_entities_json": {
    "counts": {
      "company_name": 0,
      "date": 0,
      "email_address": 4,
      "invoice_reference": 1,
      "job_reference": 0,
      "money_amount": 0,
      "order_reference": 0,
      "person_name": 0,
      "phone_number": 0,
      "po_reference": 0,
      "postcode": 0,
      "quote_reference": 0,
      "url": 0
    },
    "entities": {
      "company_name": [],
      "date": [],
      "email_address": [
        "fatoumatta.sanneh@dpd.co.uk",
        "accounts@mpcservices.co.uk",
        "mcooke@haigh.co.uk",
        "dpd.credit@dpd.co.uk"
      ],
      "invoice_reference": [
        "16881874"
      ],
      "job_reference": [],
      "money_amount": [],
      "order_reference": [],
      "person_name": [],
      "phone_number": [],
      "po_reference": [],
      "postcode": [],
      "quote_reference": [],
      "url": []
    },
    "last_processed_at": "2026-04-16T22:40:04Z",
    "primary": {
      "email_address": "fatoumatta.sanneh@dpd.co.uk",
      "invoice_reference": "16881874"
    },
    "version": "v1"
  },
  "from_email": "fatoumatta.sanneh@dpd.co.uk",
  "full_message": "Thanks for your business!\n\nPlease find attached your latest invoice\n\nWe'd like to take this opportunity to thank you for your continued business.\n\nIf you have any queries, please feel free to drop us an email to dpd.credit@dpd.co.uk\n\nKind regards,\n\nDPD\nThanks             for your business!\n\n                          Please find attached your latest invoice.\n\n                          We'd like to take this opportunity to thank you for your continued business.\n\n                          If you have any queries, please feel free to drop us an email to             dpd.credit@dpd.co.uk\n\n                          Kind regards,\n\n                             DPD",
  "human_notes": null,
  "human_summary": null,
  "human_title": null,
  "id": 55940,
  "in_reply_to": "",
  "internal_classification_source": "default",
  "internal_override": null,
  "is_accounts": true,
  "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": true,
  "message_id": "20260405115105.2C45F40EDC@smtp-out-set2-1.geopostuk.com",
  "primary_action_case": null,
  "primary_company_href": "/contacts?search=DPD",
  "primary_company_name": "DPD",
  "received_at": "Sun, 05 Apr 2026 11:51:05 GMT",
  "safe_classification_source": "rule",
  "snippet": "Thanks for your business!\n\nPlease find attached your latest invoice\n\nWe'd like to take this opportunity to thank you for your continued business.\n\nIf you have any queries, please feel free to drop us an email to dpd.credit@dpd.co.uk\n\nKind regards,\n\nDPD\nThanks             for your business!\n\n                          Please find attached your latest invoice.\n\n                          We'd like to take this opportunity to thank you for your continued business.\n\n                          If you have any queri",
  "source": "Mailcow IMAP",
  "spam_classification_source": "safe_override",
  "status": "new",
  "subject": "Invoice 16881874 from DPD for 412154",
  "suggested_company": null,
  "suggested_customerid": null,
  "tags": null,
  "to_email": "accounts@mpcservices.co.uk, mcooke@haigh.co.uk",
  "type": "inbound"
}
