avoid cursor leak in email provider

When cursor is done, the cursor must be closed to avoid cursor leak.

Change-Id: Iaaffed2c4e90dc4b17ae55fcedb242bf890b3dd5
Merge branch 'jb-mr1' of git@github.com:IceColdJelly42/android_packages_apps_Email.git into inverted