Google released a useful new Gmail feature yesterday in its labs, which could help prevent the intoxicated from sending embarrassing late-night emails they might regret in the morning.

When activated, the program will force a user to solve a series of math problems before allowing any message to be sent.

They are not terribly difficult, but do serve as an extra line of defense in what can be a very dangerous habit.

The service is set by default to kick in only on weekend nights, but you can change the settings to apply whenever.

As for drunk dialing and texting, you’re still on your own.