If you're signed in to your mobile device with your Google Account, you're signed in automatically to the Gmail app. If you're using Gmail on a browser, you might be signed in automatically if your browser saved your username or password.
Remove my username and password from the Gmail app
If you're signed in to your mobile device with your Google Account, you're automatically signed in to the Gmail app.
Learn how to sign out of the Gmail app.