work on email parsing