[api] work on mail content for BuildFail emails
[webui] test for notification defaults
[api] fix for code quality regression :)