Sends mail upon failures in Rake tasks