Gmail allows users to undo or retrieve emails for up to 30 seconds. This gives enough buffer time for the senders to recall the emails sent by mistake. The feature named Undo Send is available by default for all users, and Gmail users can adjust the buffer time between 5 and 30 seconds.