How to get the information of any email of gmail account using eclipse

I am trying to retrieve some emails using gradle(with Gmail Api) from eclipse.
And i am very new to gradle.
I don’t know how to start.
I already tried to start with the code given of google developer console but there it is given by using command prompt.
But i want to do all this from eclipse because i need in application testing.
Please give me any useful resource by which i will be able to learn it.
Any help will be highly appreciated.

Thanks in advance,


If I understand correctly you are trying to create a Gradle build script which 1) uses the GMail API and 2) configures/launches tests for projects located in the Eclipse workspace. This looks a pretty complex task considering that you are new to Gradle.

Right off the bat, there is no API to directly interact with an Eclipse runtime from Gradle. I think your best chance is to access/modify files from the Gradle build script and use them from Eclipse.

Also, before starting working on this I suggest that to get a deep understanding how to work with Gradle. There are plenty of documentation online (1, 2, or 3 just to give a few).

hello @donat,
yes, you are right. I am trying to do the same.
one more thing i want to know is i have read about the imap s22. which can be used for the same purpose. Am i right?
And if yes, then will it also be complex like the gradle with Gmail api.?


I am sorry, but I have no knowledge on how the GMail API works. Maybe somebody else on the forum?