I am trying to create an extension using gmail.js (amazing project, by the way!) with a very simple aim: add a button anywhere in gmail (add_toolbar_button for instance is perfect) that performs a search for unread emails, so basically a search for is:unread.
I have been looking through the documentation, but haven't found a way to do so.
Is it possible to do it from gmail.js?
Thank you!