On Xiaomi Redmi Note devices the database occasionally gets corrupted, resulting in total data loss
On some Xiaomi Redmi (Note) and some OnePlus devices the database occasionally gets corrupted, resulting in total data loss
(on the device only, unless you are using a POP3 account with the option *Leave messages on server* disabled).
(on the device only, unless you are using a POP3 account with the option *Leave messages on server* disabled).
The cause of this problem are disk I/O errors due to an Android bug or maybe a hardware issue, please [see here](https://www.sqlite.org/rescode.html#ioerr_write).
The cause of this problem are disk I/O errors due to an Android bug (more likely) or maybe a hardware issue (less likely),