Guide7 min read·October 29, 2026

How to Stop Sending Sensitive Data in Gmail: DLP, Content Rules and Checks at Send

Card numbers, passwords and client data get emailed by accident every day. Google Workspace can scan outgoing mail with DLP or content compliance rules, but they run on Google's servers after you click Send. Here is how each option works, which plans have it, and how to catch it in the compose window instead.

PT
Presend TeamProduct

What we mean by sensitive data

The usual suspects:

  • card numbers and bank details
  • social security and other ID numbers
  • passwords, API keys and access tokens
  • client names, project code names, deal terms
  • health or HR information

Outlook shops often catch these with an add-in like VIPRE SafeSend, which scans the email for keywords and patterns IT has listed and flags them at Send. In Gmail there are three ways to do something similar. They differ in one important way: when the check happens.


Option 1: Gmail content compliance rules (Workspace admins)

Google Workspace admins can set rules on outgoing mail in the Admin console, under Apps, then Google Workspace, then Gmail, then Compliance. A content compliance rule matches words, phrases or regular expressions in a message, and then does something with it: reject it, send it to a quarantine for an admin to review, or change where it goes.

Good for: a hard company-wide rule, such as "nothing with this project code name leaves the domain".

Where it falls short:

  • It runs after you click Send. The sender finds out from a bounce, or not at all if the email is quarantined.
  • Someone has to write and maintain the patterns. Regular expressions for card numbers that do not also catch order numbers take care.
  • The person writing the email gets no chance to fix it. They wanted to send something. Now it is stuck and they do not know why.

Option 2: Google Workspace DLP for Gmail

DLP (data loss prevention) is the more advanced version. It comes with built-in detectors for things like credit card numbers and ID numbers from many countries, so you do not write the patterns yourself. Rules are set in the Admin console under Security, then Access and data control, then Data protection.

A DLP rule can block the message, quarantine it, or warn the user. The warning is the closest thing Google has to SafeSend's DLP scan: in Gmail on the web and in the Gmail app, the sender sees an alert that the email may contain sensitive content, with Back to editing or Send anyway.

Which plans have it: Enterprise Standard and Plus, Frontline Standard and Plus, and the Education editions. Business Starter, Business Standard and Business Plus do not include it, and personal Gmail has nothing like it.

Where it falls short:

  • Only an admin can set it up, and only on those plans. Most small companies are on a Business plan.
  • It is built for the security team's list, not your own mistakes. Nobody writes a DLP rule for "I keep sending the draft price list to the wrong client".
  • It does not look at who the email goes to in the same way SafeSend does. It scans content. A clean email to the wrong person goes straight through.

Option 3: A check in the compose window

The third option checks the email in Gmail itself, at the moment you click Send, and shows you what it found. You remove the card number, swap the password for a secure link, and send. Nothing bounces, and nobody in IT has to review a quarantine.

Presend is a Chrome extension that does this. Its built-in checks include:

  • Leaked API key / token. Known key formats, and anything the sentence calls a password or key, such as "the password is", even when the value has no known format. Set to Block by default.
  • Sensitive number (SSN / card). Numbers shaped like card numbers or social security numbers. Also Block by default.
  • Banned phrases. A list you set, such as a project code name or "do not forward".
  • Your own rules. Written in plain English ("Block any email to an outside address that mentions salary") or as a pattern, with Block, Warn or Note.

When a check blocks, Send stops with "Hold on" and the reason, and you choose Review message or Send anyway. The same checks run in Outlook on the web and in other places you type, like Slack.


Which one to use

These are not either-or. A careful setup uses both ends:

  • Content compliance and DLP (Options 1 and 2) are the company-wide net. If you are on a plan with DLP, turn on the built-in card and ID detectors with Warn users. They also give the security team a record.
  • A check at Send (Option 3) is where most mistakes actually get fixed, because the person who made them sees them while they can still change the email.

If you are on a Business plan, or a small team without a Workspace admin, Option 3 is the one you can set up today. For the related problem of sending to the wrong person, see our Gmail external recipient warning guide. And for why API keys end up in email in the first place, see pre-send checks for attachments, recipients and leaks.

Ready to try Presend?

Free to start. Nothing you write is stored. 30-second install.

Add to Chrome (free)
Related Articles
6 min read

How to Get a Warning Before Emailing Someone Outside Your Company in Gmail

Gmail can warn you when an email goes outside your company, but only on Google Workspace, only as a banner, and not for people already in your contacts. Here is how to turn it on, where it falls short, and how to get a real stop before Send.

8 min read

How to Get an External Recipient Warning in Outlook (Pop-Up Before Send)

Three ways to get Outlook to warn you before an email goes outside your company: the built-in External Recipients MailTip, a free macro for classic Outlook, and add-ins like SafeSend and Presend. What each one does and who it is for.

6 min read

Autocomplete Sent My Email to the Wrong Person: How to Stop It in Gmail and Outlook

Most wrong-recipient emails are an autocomplete pick: the right first name, the wrong person. How to remove bad suggestions in Gmail and Outlook, stop the list from filling up again, and add a check before Send.

7 min read

What Is VIPRE SafeSend? What the Outlook Add-in Does, and How to Get the Same in Gmail

SafeSend is an Outlook add-in that stops you at Send when an email goes outside your company, lists the recipients and attachments to confirm, and scans for sensitive words. Here is every feature, the PC vs web add-in split, the new Outlook change, and what to use if you are on Gmail.

5 min read

How to Make Gmail Ask "Are You Sure?" Before Sending an Email

Gmail has no confirm-before-send setting. Undo Send gives you up to 30 seconds after the fact, and Schedule Send can buy more time. For a real pause at Send, like Outlook's SafeSend, you need an extension. Here are all three, and when each one is enough.

5 min read

How to Check Attachments Before Sending in Gmail (Missing and Wrong Files)

Gmail reminds you when you write "attached" and forget the file, but only for phrases it recognizes, and it never checks whether you attached the right file. How the reminder works, the two attachment mistakes it misses, and how to add a proper check at Send.