Moved Phalanx check after setEmail