@Oscar Thank you for reaching out to us, came across this tech community blog - https://techcommunity.microsoft.com/t5/microsoft-defender-xdr/email-entity-preview-email/m-p/3662612 where similar ask has been discussed, just check if the approach discussed here helps you or not.
Let me know if you have any further questions, feel free to post back.