Added branch information to build failure emails.

Mirroring develop branch - added the "branch" argument to a method so that build failure emails will indicate which branch the failure occurred on.