Works fetch email address. Code refactor