add email notification feature