refactor ipAddEmail