Deleting your email account from your Xiaomi phone may be necessary for a variety of reasons: you sell a device, want to change your main account, or just free up space. However, standard removal of the Gmail or Mi Mail app does not completely erase data β emails, contacts, and settings remain in the system. In this article, we will discuss all working methods, including deleting through MIUI Account, resetting to factory settings, and even hidden functions for power users.
Xiaomi smartphones are unique in that they link email accounts not only to apps but also to system services, such as Google accounts that can be synced to Mi Cloud and Mail.ru to a calendar, so simply removing the app won't solve the problem. We'll look at the methods for different versions of MIUI (12 to 14), and we'll also focus on the nuances for models with HyperOS.
1. Delete mail through account settings
The easiest way to delete an email account is through the system menu, which is suitable for Google, Mail.ru, Yandex and other services added to the Accounts section.
Open Settings β Accounts and sync. Here you will see all the associated accounts. Click on the desired email (e.g. Google), then select Delete Account. The system will request confirmation β agree.
- π§ Emails and drafts will remain on the mail providerβs server, but will disappear from the phone.
- π Synchronization of contacts, calendar and notes will stop.
- π± Apps using this account (such as YouTube or Google Drive) will require re-entry.
β οΈ Note: If you delete your Google account, a password request may appear after you reboot your phone (protection) FRP). Make sure you remember the login details in advance or turn off Device Protection in the security settings.
Make a backup copy of your contacts
Remember or save your email password
Turn off two-factor authentication (if any)
Check if Google Play purchases are linked to your account-->
2.How to remove the built-in Mail app (Mi Mail)
The Mi Mail app (a standard Xiaomi email client) cannot be removed completely without root permissions, but it can be disabled or reset.
- Go to Settings β Applications β Application Management.
- Find Mi Mail (or βMailβ) in the list.
- Click Warehouse β Clear the data and Clear the cache.
- Go back and select Disable (the app will disappear from the menu, but stay in the system).
If you want to completely remove Mi Mail without root, you can use ADB (Android Debug Bridge). To do this, connect your phone to your PC, turn on USB debugging in the developer settings and follow the command:
adb shell pm uninstall --user 0 com.android.emailβ οΈ Warning: Removing system applications can lead to unstable work MIUI. For example, after deleting Mi Mail, email notifications in other clients may disappear.Before executing a command, make a backup through Mi Cloud or TWRP.
3. Delete mail via MIUI Account (for Xiaomi accounts)
If you use @mi.com email or link it to your MIUI Account, standard deletion via settings will not work.
- Open Settings β Mi Account.
- Go to Security β Delete the account.
- Confirm the action via SMS or password.
After deleting MIUI Account:
- π All data (email, cloud, notes) will be erased from Xiaomi servers.
- π± The phone is unlocked from the account (useful before selling).
- β οΈ You will lose access to Mi Store and Xiaomi services.
If you are selling a phone, after deleting MIUI Account, be sure to reset to factory settings (see Section 5). Otherwise, the new owner can recover your data through Find Device.
Gmail|Mi Mail|Mail.ru|Yandex.Mail.|Other-->
4.Resetting email settings via Recovery Mode
If the phone is stuck or not responding to commands, you can reset your email settings via Recovery Mode, which does not delete your accounts completely, but clears their data and cache.
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select Wipe & Reset β Wipe Cache.
- Confirm the action and restart the device.
After discharge:
- π Local emails and email client settings will be deleted.
- π Accounts will remain in the system, but will require re-entering the password.
- β οΈ This method does not delete data from Mi Cloud or Google Drive.
To completely delete mail through Recovery, you need to do Wipe Data, but this will erase all the data on the phone, including photos and apps, and more on that in the next section.
What happens if the Recovery Mode does not open?
5. Complete removal of mail via reset to factory settings
This is the most radical, but also the most reliable way, and it deletes all accounts, including email, MIUI Account, Google, and app data.
- π± Make a backup copy through Settings β The phone. β Backup.
- π Make sure to remember passwords from all accounts (after resetting, the phone will require re-entry).
- π§ Export important emails to a file (e.g. via Gmail in.mbox format).
Resetting instructions:
- Open Settings β Additional β Recovery and Reset.
- Select Settings Reset.
- Mark Clear internal memory (optional if you need to erase files).
- Confirm the action and wait for the reboot.
Once reset, the phone will be like new, without email accounts, apps, or personal data.
| Action. | The result | How to repair |
|---|---|---|
| Resetting without memory cleaning | Deletes accounts, but leaves files (photos, videos) | Log in to your accounts again, the data will remain |
| Resetting with memory cleanup | Deletes everything, including files and settings | Restore from backup or manually |
| Removal via Find Device | Deletes data remotely (if the phone is lost) | Impossible to repair |
β οΈ Warning: On HyperOS phones (such as Xiaomi 14 or Redmi Note 13), it can take up to 10 minutes to reset.
6. Alternative methods: for experienced users
If standard methods don't work, you can use advanced tools, which require technical knowledge and can damage the system if used incorrectly.
Method 1: Removal via ADB
Connect your phone to your PC, turn on USB Debugging and execute the commands:
adb shell pm list packages | grep mail # find email applications
adb shell pm uninstall --user 0 com.google.android.gm # delete GmailMethod 2: Editing the account.db file
With Root Explorer or ADB, find the file along the path /data/system/users/0/accounts.db. Open it in the SQLite editor and manually delete the email account records. This method is risky - an error can lead to bootloop ( looped download).
Method 3: Using TWRP
If the phone has custom TWRP recovery installed, you can:
- Download to TWRP.
- Go to Advanced β File Manager.
- Delete /data/data/com.google.android.gm (for Gmail) or /data/data/com.android.email (for Mi Mail).
β οΈ Attention: These methods can disrupt work MIUI, Especially on HyperOS phones. Before experimenting, check compatibility with your model in forums. 4PDA or XDA Developers.
π‘
If you sell a phone, after resetting to factory settings, download any app (like Facebook) and check if notifications from old accounts appear, which will help make sure that the data is actually deleted.
FAQ: Frequent questions about email removal on Xiaomi
Can I delete mail without resetting my phone?
Why does your phone ask for a password after deleting your Google account?
How to delete mail.ru, if it is synchronized with the calendar?
Can I recover deleted emails after resetting?
What to do if the MIUI Account is not deleted?
π‘
Before selling your phone, make sure to reset to the factory settings with memory clearing, the only way to guarantee that all data, including email and personal information, will be deleted.