That's because you have a 30s timer that doesn't actually send anything until it counts to 0.
After it actually sends the e-mail, there's no going back.
sure, but that 30s timer is an incredibly useful feature, when you misclick, when your cat walks on your keyboard, when you remember that you forgot $RANDOM_THING, etc etc
Sure, and git could have an option to add a timer as well, but I don't think people notice git push mistakes as quickly as they do with e-mails.
And for like a decade this was only available under Gmail Labs, and without it enabled gmail would send immediately and couldn't "undo" the send.
This only works because you can configure gmail to send email on a timer instead of immediately.
Also, may I kindly suggest that you aren't putting enough thought into your emails? That may be fine for single-recipient emails (depending on your environment), but when your email is received by many people it's an unkind act that shows disregard for the recipient's time and attention.
I'd wager I press the "undo" button in gmail at least 3/4 times per week