Forum Discussion

Rohit Yadav's avatar
Rohit Yadav
Bronze Contributor
Feb 17, 2025

How do I exclude certain part of email from being scanned?

Hi there, I have enabled client-side auto Sensitivity labelling for emails in a tenant for PII detection using pre-built SIT & Trainable Classifiers. However, the issue is that the Email signature automatically makes the check true and applies the label automatically, which I want to avoid. 

Is there a way for me to exclude the signature part of the email from being excluded?

  • IsmKay's avatar
    IsmKay
    Copper Contributor

    Hi Rohit Yadav,

    It sounds like you’re dealing with a common issue when using sensitivity labels with email signatures. Unfortunately, there’s no direct way to exclude the signature part of an email from sensitivity labeling checks. However, there are few workarounds you can consider:

    Quick solution for this would be adjusting detection rules by increasing the number of instances within condition. E.g., if you have 1 name and 1 address in the email signature then increase the number of instances to 2 for both.

    Another option is try to add SITs that are triggered by the signature in a separate group within the condition.

    You could try adjusting SITs or create custom ones but you have to keep them up-to-date.

    If you are using Trainable Classifiers, you can try to provide feedback within the Classifiers page for these matches.

    Let me know if this workaround helped you with finding a solution. Hopefully Email Signature exception will come to Auto-labeling and DLP as it is for Insider Risk Management. 

  • luchete's avatar
    luchete
    Steel Contributor

    Hello Rohit Yadav,

    You could try setting up a rule to exclude certain parts of the email, like the signature, from being scanned. One option is to use a custom classifier or modify the pre-built ones to avoid applying the sensitivity label when certain text patterns are detected, such as your email signature. Another approach might be to use Power Automate or other email-processing tools to remove or handle the signature separately before the label is applied. It would require a bit of customization, but it can help prevent the label from being triggered by the signature.

    Hope it helps!

Resources