adding email notification