Support undo sending email
Geary should wait a few seconds before actually sending an email, and provide a means to undo it (i.e. cancel the send and re-open a composer for it). GMail supports this feature and it defaults to a delay of 5s, configurable to a maximum of 30s.
Some things this should take into account:
- An in-app notification should provide a means of undoing the send "Email to blah queued for delivery"
- The notification may want to also have a "Send now" action
- The app should send pending messages on quit and may attempt to before suspending or shutdown, inhibiting suspend/shutdown until messages have been delivered
- Perhaps make the delay period configurable (per GMail)
Originally bgo bug 713290.
Edited by Michael Gratton