templates / branches--on commit send-email: refactor and ensure prompting doesn't loop forever (6e18251)
   1: this is just to ensure the directory exists.