Notification on email is not working right