Android users should be careful when logging into their Gmail account on someone else's phone, as this can have serious consequences. While this may seem harmless, engaging in such activities is dangerous.
See also: How to create filters in Gmail?

Gmail is an invaluable tool that goes far beyond email services. Gmail helps users stay organized by providing labels, filters, and categories. You can create custom labels to quickly sort emails into different folders, or you can use filters to automatically sort emails based on criteria like the sender's address or keywords in the subject line. Additionally, you can set up automated replies so that when someone sends you an email inquiry, you have a pre-defined response ready to be sent automatically.
It’s closely tied to your Google account and everything you do with it. Your friends may have earned your trust, but what if device gets hacked or stolen by a malicious attacker? Having someone else access your account could lead to devastating consequences. Not only would this allow them to search your emails without permission, but it could also open up a “Pandora’s box” of Google services.
See also: Update your availability status in Gmail
To provide an extra layer of protection, some Google websites will send a randomly generated number to your Gmail app. This is to ensure that it is you who is accessing the account. If a cybercriminal gains access to your friend's phone that is connected to your Gmail account, they could potentially gain access to all the information you store on it. This includes logging into Chrome and accessing your personal history.

Exploring your location history on Google Maps is also possible. As a result, it can be dangerous to leave your Gmail logged in to someone else's device. To ensure your privacy when you need to check emails from a device that doesn't belong to you, use Chrome's incognito mode. This ensures that no data is retained once you close your browser.
See also: Gmail: How to change the background in your email?
Ideally, a simple request to your friend to disconnect you should solve the problem. If you need reassurance or are having trouble reaching them, you can easily complete the task remotely.
To get started, go to your Google Account.
Then, select Security.
Go to “Manage all devices” and get started!
Here, you can see all the devices your Google account is signed in to. To sign out, simply tap the desired account and select Sign out.
