def rule(event):
    if all(
        [
            event.deep_get("Workload", default="") == "ThreatIntelligence",
            event.deep_get("Operation", default="") == "TIMailData",
            event.deep_get("Directionality", default="") == "Inbound",
            not event.deep_get("DeliveryAction", default="") == "Blocked",
        ]
    ):
        return True
    return False
