How to limit amount of email messages to be included in BCC field when sending emails out

Problem

How to restrict how many email addresses can be added in the BCC field when users in the organization send emails out?

Environment

  • Gmail

Solution

  1. In your Google Admin console.
  2. Go to Menu > Apps > Google Workspace > Gmail > Compliance.
    • (Optional) On the left, select the organization.
  3. Scroll to the Content compliance setting in the Compliance section, hover over the setting, and click Configure. If the setting is already configured, hover over the setting and click Edit or Add another
  4. Check the boxes next to the messages you want the rule to apply to. In this specific scenario, choose OUTBOUND.
  5. Go to the next step to continue.
  6. From the list, specify whether any or all conditions must match to trigger what happens to the message. For example, if you select If ANY of the following match the message, any matching condition can trigger the consequence to the message.
  7. Choose Advanced content match, where on Location, choose Full Headers and Match Type, choose Matches Regex. On Regexp, add the following expression:
    (Bcc)(.*@.*,?[\s\n\>]?){10,}
    • IMPORTANT: Note that ''10'' is the allowed amount of email addresses that are allowed to be entered in the BCC field. Once the expression is added, please click on Save.
  8. Specify whether to modify, reject, or quarantine a message when conditions are met.
  9. Configure the options for the action you choose. 
  10. Go to Save the configuration.