invalid first email on github

In a test case: an account with multiple emails have the first return item as invalid.
In GitHub you can add invalid emails (like test@github), so this broke the validation if a valid email is not the first on list.
Previous code use only first email, them check it and fail (on this test case).