You cannot do all of these yet. the content provider for the mail app doesn't publish or give permissions for other apps to access it's data, well, not all of it's data....
Deleting mails is not possible. Getting unread counts is also not possible. On Mon, Oct 4, 2010 at 8:09 PM, klavin <[email protected]> wrote: > I'd like to get access to the data stored in the default Email app. > I'd like to find out what accounts are associated with the App, and > for each account, what folders are associated with the account, and > for each folder how many emails are in that folder. I need this > information on 2.1 and 1.5. > I see the AccountManager in 2.1 can give me some of the accounts > configured, but in the Email app you can also add accounts which don't > show up in the AccountManager. How do you get access to the accounts > configured in the Email app. > I'd like to be able to programmatically deleted emails in the users > folders. Are the emails stored in a content Provider? If so whats the > URI. > Any help would be much appreciated. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

