title: Regarding implementing the search feature as it is in gmail
body: <p>I have fetched all my emails using JavaMail API but I want to implement the search feature as it is there in Gmail. Is it possible for us to use the gmail search feature through some interface programmatically, like using Gmail API?</p>