(And We sent not before you but men to whom We revealed.) meaning, all the Messengers who came before you were men, human beings. There were no angels among them. This is like the Ayat:
فَاسْأَلُوا أَهْلَ الذِّكْرِ إِن كُنتُمْ لَا تَعْلَمُونَ (So, ask the people (having the knowledge) of the message, if you do not know. - 21:7) In this verse, scholars of Injil Evangele) and Torah are referred to as أَهْلَ الذِّكْرِ (people of the message), who had accepted the Holy Prophet's prophethood. Therefore, what it actually means is that if you are not aware whether the prophets of the past were angels or ordinary men then you should find out from the scholars of Injil and Torah as they know perfectly well that all prophets were human beings. It is, therefore, quite possible that here the term اَھلَ :(people of the message) refers to all Jews and Christians (even though they have not believed in the Holy prophethood of the Holy Prophet ﷺ).
Ruling: Qurtubi has said in his exegesis that this verse has made it clear that ignorant persons who are not acquainted with the rules of Shari'ah must seek knowledge from scholars and then follow them accordingly.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 9–14
Those who refused to accept the prophethood of the Prophet Muhammad on the grounds that he was a human being like them, were told that if they were sincere and serious in their objection, they should not find it difficult to come to a correct understanding of the truth. The People of the Book, believers in past prophets, could be asked whether these prophets had been human beings or not. If they (the prophets of the past) were human beings, they had no reason to reject the present Prophet solely on the grounds that he was born of human parents, just like any ordinary human being. The history of former prophets reveals that the people’s acceptance or rejection of them was not an ordinary type of acceptance or rejection, in that it led to distinctly different results for the two groups. The acceptors enjoyed salvation, while the rejectors were destroyed. Therefore, this is a matter in which one has to be extremely sincere and serious.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.