Prevent text messages from being sent to recipient's email address
The sender needs to attach their number to their iMessage "Send &amp; Receive" list.

On the iPhone they can go to Settings -> Messages -> Send And Receive -> Add iPhone phone number along with their Apple ID email.

Then make sure the phone number has a check mark next to it.

Then try texting them again and see if it emails them the message, it shouldn't.