working on email notifications