send email notification if pull request build fail
send email notification if build failed
Merge pull request #7167 from heliclei/post-build-mail

[ci skip] Send email notification if pull request build fail
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_bug_fix