What is opening in the wrong app? If you're tapping on a notification, that notification is coming from a particular app so tapping it will open in the app that notification came from. If you want to change your email to be in the Gmail app, you'll need to sign in to your account in that app, set it up for notifications and sign out of your email from the other app.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See
this link for instructions on how to join Android Central.