Gmail / Getting Started with Gmail

Cancel a message sent in error

If you have ever clicked on the Send button then realised you shouldn't have, you may want to enable the Undo Send command. This feature gives you up to 30 seconds to stop a message from being sent after you've clicked on the Send button, and can be enabled via Settings.

To  set the amount of time that a message can be undone for:

Now, when you click on the Send button, you will have a few seconds to click on the Undo link to stop your message from being sent: