* Add $DEBUG - if set, print to STDOUT, else to mail.
* Get the issue number(s) and add a url to that issue.