I am trying to make a chrome extension for gmail and am currently tinkering around with InboxSDK but I am unable to figure out how do I access email body from the inbox list itself(without opening the email) to add labels depending on the content.
I get the threadRowView object but I am unsure what to do after that to get more details of the mail. I think getElement() might be able to help somehow but I am unable to make sure how do I extract the mail from raw gmail DOM. https://inboxsdk.github.io/inboxsdk-docs/lists/