Google has improved any number of the Web activities in which we engage during the day. But what about those activities that occur late at night? Like firing off that email at 3 AM on Sunday morning after a night out?

If Jon Perlow has his way, Google may be able to save you from that moment of regret, too.

Perlow has used his Google Labs' time to build a new feature called "Mail Goggles." It's a simple addition to your Gmail settings that promises to make sending that soon-to-be-cold-sweat-inducing email a little more difficult:

"When you enable Mail Goggles, it will check that you're really sure you want to send that late night Friday email. And what better way to check than by making you solve a few simple math problems after you click send to verify you're in the right state of mind?"

Set to late-night Friday and Saturday by default, Mail Goggles can be configured to give you pause any day of the week at any time period you prefer. So, if you're more likely to send off regrettable emails on Monday than Friday, you're still covered.

To enable Mail Goggles, visit the Labs area in Gmail, select the time period you prefer, and save the changes.