How can I stop my text messages going into my email on my Galaxy S7
You have to go into the Email app, select More, select Settings, select your account under the Accounts heading, scroll down to Exchange Active Sync settings and turn off Sync Messages.