added an email notify script