buildbot: add code to e-mail about build failures