Thank you in advance for being able to help. I'm using this code:
client.openMailbox("INBOX", function(error, info){
if(error) throw error;
var ex;
client.listMessages(-10, function(err, messages){
messages.forEach(function(message){
console.log(message.UID + ": " + message.title);
});
});
});
I wanted to get the content of the email and not just the title. I am using the inbox module to make the connection