What database/table does the stock email app keep drafts

mft99

Member
Aug 10, 2016
9
0
0
Visit site
I had a bunch of drafts and I accidentally reset the email app and it re-opened with zero drafts. Ugh! Device is jellybean 4.2.2, and android stock email app. Draft's aren't synced to a server.

When I look in \Phone\data\data\com.android.email\...

there's database folders like 0.db_att 1.db_att ... 3.db_att which contain attachments (for media caching I guess).

and there's some db files EmailProviderBackup.db and EmailProviderBackup.db-journal and EmailProviderBody.db.

but don't know.

Can anyone suggest how to look in the source code...

https://android.googlesource.com/platform/packages/apps/Email/+/jb-mr0-release

to figure out where the drafts are stored locally on the phone? Then maybe I can look for that db file or remnants of it, and some of the draft email bodies from it?
 

Members online

Forum statistics

Threads
943,148
Messages
6,917,526
Members
3,158,848
Latest member
Finsrepair