Add some logging around sending emails.
Handle errors when trying to extract out the github username.