added mocha to gemspec
email notification implemented
finished tests for Pipeline#send_email