update doc to use Email object