ENH: addition of doAndSend

This new script allow the user to start a command and receive an email when the command is done running