Use email instead of loginname in WP