Coordinating conjunctions connect words, phrases, or clauses of equal grammatical rank. In this case, "either" works with "or" to connect the two nouns "John" and "Mary".
Coordinating conjunctions connect words, phrases, or clauses of equal grammatical rank. In this case, "either" works with "or" to connect the two nouns "John" and "Mary".