I really love the After sending, enable undo for: X seconds feature but I found a small problem with it:
When I minimize or close the main Mailspring window, compose an email in the composer window, and send it, the composer window is closed and the main window which contains the undo button stays hidden, so I can’t click Undo unless I manually open the window. This removes the kind of confidence this feature gives to users and thus makes it pointless.
My suggestion is to .show()
the window if closed and .focus()
it otherwise.
(Originally posted by shroudedcode on GitHub.)