There seems to be quite a lot of similar questions but I haven't found one which covers my situation.

I have an android device on loan to do some development testing and at some point I opened the standard Mail account and connected to my Gmail account. Obviously all my mail was synced.

Now I need to return the device and I have set Aeroplane mode to avoid any further access to my WiFi.

However, when I run the Mail app all my previously synced emails are there, obviously stored somewhere on the device.

I need a way of deleting all those emails from the device only. Maybe deleting a file somewhere on the device or something else ?

  • 3
    Have you already tried to delete the cache and data of the Mail app? Also remove the Gmail account from the Settings. Settings -> Accounts. You could also reset the phone to factory default if possible May 7, 2019 at 7:59
  • 1st check if your device is encrypted: android.stackexchange.com/a/188948/2241 If yes, remove all accounts in the Android settings, delete all folders on the sd-card section, perform a factory reset and you are done.
    – Robert
    May 7, 2019 at 11:21

1 Answer 1


Gmail account is directly linked to the internet and stores few bits of data onto the device. Even if you are not connected to the internet, the data will stay on your device. Logging out of the Google device will remove your preferences or settings, but the data can on your device is still visible. To remove the data, you need to do a factory reset, which will wipe out the entire data (including your internal memory file). This can be done in two ways, reboot from settings, Settings --> system or about phone --> reset --> factory reset. Or manually by switching off the phone, and then pressing power and volume down button simultaneously. You can find more information here https://www.androidcentral.com/how-factory-reset-android-phone

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .