3

As specified here https://developers.google.com/google-apps/gmail/gmail_inbox_feed, I can get a feed of unread emails under a label 'work' by simply calling https://mail.google.com/mail/feed/atom/work/

But what to do in case I have nested labels? i.e. in case I have a label named 'Important' nested under 'Work'

Dan Lowe
  • 51,713
  • 20
  • 123
  • 112
Jigar Vyas
  • 68
  • 6

1 Answers1

8

You need to replace all slashes with dashes:

If your nested label is Work/Unpleasant the url is:

https://<user>:<pw>@mail.google.com/mail/feed/atom/Work-Unpleasant
THgrendel
  • 106
  • 1
  • 7