Send an email on errors.

* Format the error in two forms.
* Moved a bunch of utility functions into GithubInteraction.
* Function to send Errors.
* Recomposed main to not completely fail when GH fails, so that its
  results can be emailed, no matter what they are.