working on email process