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 in a browser, you might be signed in automatically if your browser has saved your username or password.
Remove my username and password from the Gmail app
If you're signed into your mobile device with your Google Account, you're automatically signed into the Gmail app.
Learn how to sign out of the Gmail app.