Nothing improves a risky midnight text message like leaving it in drafts until breakfast.
The Digital Breathalyzer Built Into Gmail
In October 2008, Google engineer Jon Perlow quietly shipped a Gmail Labs feature called "Mail Goggles" after admitting he had sent his own share of regrettable late-night messages to crushes and exes. By default, the tool woke up every Friday and Saturday night between 10 p.m. and 4 a.m.
Hit "Send" during those danger hours, and Gmail slammed on the brakes, demanding you solve five arithmetic problems under a ticking countdown clock before the message could leave your outbox. If you were too tired, furious, or tipsy to multiply under pressure, your email stayed safely trapped until sunrise. Few midnight manifestos survive sixty seconds of basic math - let alone a cup of coffee.
Source: Jon Perlow, 'New in Labs: Stop sending mail you later regret,' Official Gmail Blog (October 6, 2008).