Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android + gmail + feed + get ALL mails

Tags:

android

gmail

If I use https://mail.google.com/mail/feed/atom/ feed from gmail, I get ONLY unread emails - as a nice XML parseable by any reader.

Please tell me if there is a way to get ALL emails - including both read and unread? I am trying this on Android. Is there any example I could refer to?

Thanks, A

like image 888
jumpa Avatar asked Jun 22 '11 14:06

jumpa


People also ask

How do I see all mail in Gmail on Android?

If you're using Gmail on your phone or tablet, tap the red and white envelope labeled "Gmail" on your home screen or in the app drawer. This method will search all messages in your Gmail account, including those you've archived.

Why is my Gmail app not showing all emails?

You might have accidentally turned off two important settings related to data usage of the Gmail app. You need to enable them to receive new emails. To do so, go to phone Settings > Apps > Gmail > Mobile data. Enable the toggle next to Background data.


1 Answers

Quite limiting, because http://mail.google.com/mail/feed/atom/inbox/ AND https://mail.google.com/mail/feed/atom/ shows all unread mail, not simply the inbox, as it should in my opintion. Then we could have /read and /unread but instead /read doesn't exist and /unread gives you all unread, not simply the unread from the inbox.

So, http://mail.google.com/mail/feed/atom/all may be what you want as it gives you literally ALL mail. At the moment, using an atom feed alone like that, you would only be able to get ALL mail, like you asked for, but I'm not sure that's what you're asking for...I'd assume you want ALL (meaning read/unread) from the INBOX. At the moment, that's not possible, using the feed, and you are stuck with all mail from all labels where they necessarily and likely don't all live in the inbox (many have items skip the inbox purposefully).

References:

http://googlesystem.blogspot.com/2008/03/feed-for-unread-gmail-messages.html

https://developers.google.com/google-apps/gmail/gmail_inbox_feed

like image 62
TryTryAgain Avatar answered Sep 27 '22 19:09

TryTryAgain