I got it! I needed to read the body of the reply and not the header. Everything I have set was stored in the body. To get the content of the body you have to get the inputStream, like this:
Folder folder = store.getFolder("Inbox");
folder.open(Folder.READ_WRITE);
Message message[] = folder.getMessages();
InputStream in = messages.getInputStream();
Then you just have to write a typical IO Reader to get the lines,split it and take the values you have set.That's it.