When I'm texting, sometimes the receiver's email shows up
Those emails are from iMessage, as you can receive iMessages with both your email and phone number. If the messages are colored blue, it is iMessage.

https://deciphertools.com/blog/2014_06_20_stop_sending_imessage_from_email/