working on email notification