adding build API
adding build mail notification
refactoring notifications mailer