WIP: Start on email notifications

- Some (tested) logic for building a list of recipients and a body
- Added the smtp-mail package but didn't get around to using it yet
- Various improvements to the testing harness