Whichever application you are using to type emails, then the Edit menu > Undo option should be available.
And all Word Processors have that same option in Edit > Undo.
If you delete any text, Undo will return it.
Having Wi-Fi troubles?
From the garage to the basement, we blanketed every square inch of the CNET Smart Home with fast, reliable Wi-Fi.