Looking at the list of properties here: https://developers.google.com/gmail/api/v1/reference/users/messages You can see all of the properties. However, currently for me, only Id and Thread ID is working. Is it user error or something wrong with the API?
function listMessages() { gapi.client.gmail.users.messages.list({ 'maxResults': 1000, 'userId': 'me', 'format': 'full', }).then(function(response) { appendPre('Files:'); var messages = response.result.messages; if (messages && messages.length > 0) { for (var i = 0; i < messages.length; i++) { var message = messages[i]; appendPre(message.threadId + ' (' + message.snippet + ')'); } } else { appendPre('No files found.'); } }); } Any help with getting the name of the email printed would be appreciated. I can only print out message.ThreadID and message.ID, with everything else (such as message.snippet) printed out as undefined.
This is what happens when the ID and snippet are printed out: The ID prints out but nothing else, I've tried this with a few other varables as well, all of them but ID and threadID prints out as undefined. 
How can I fix this issue?