Add logging of undefined exceptions
Add logging of successfully sent emails
Merge pull request #12 from marselester/master

Some additional logging