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
Quite limiting, because
http://mail.google.com/mail/feed/atom/inbox/ANDhttps://mail.google.com/mail/feed/atom/shows all unread mail, not simply the inbox, as it should in my opintion. Then we could have/readand/unreadbut instead/readdoesn’t exist and/unreadgives you all unread, not simply the unread from the inbox.So,
http://mail.google.com/mail/feed/atom/allmay 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