Handle EOFError in getpass, and don't send notification email to blank email.

* It appears on OS X ctrl+c will not terminate getpass, thus the only way to break
  out of the loop is to close the input stream (via ctrl+d). This addition properly
  exits the program when the input stream is closed.
* Do not attempt to send an email when the email field is not set.