ContentResolver contentResolver = getContentResolver();
Cursor conversations = contentResolver.query(Uri.parse("content://gmail-ls/conversations/" + "leehack@gmail.com"), null, null, null, null);
conversations.moveToFirst();
for (int a = 0; a < conversations.getCount(); a++) {
String subject = conversations.getString(8);
conversations.moveToNext();
}