1

AutoWeb: Gmail API get message body data decoding needed

Body data is somehow encoded and payload body data won't come through.

Needing some way for Autoweb to decode body data.

 I found this, https://github.com/googleapis/google-api-ruby-client/issues/145 . Could I decode somehow with AutoTools?
 
I don't know, if payload body data is needed, then it doesn't seem to go throuhg. Only body parts data comes through. I get something like this from here as below: https://developers.google.com/gmail/api/v1/reference/users/messages/get? 
 
"body": {
"size": 0
},
"parts": [
{
"partId": "0",
"mimeType": "text/plain",
"filename": "",
"headers": [
{
"name": "Content-Type",
"value": "text/plain; charset=UTF-8"
},
{
"name": "Content-Transfer-Encoding",
"value": "7bit"
}
],
"body": {
"size": 925,
"data": "/here is encoded stuff one"
}
},
{
"partId": "1",
"mimeType": "text/html",
"filename": "",
"headers": [
{
"name": "Content-Type",
"value": "text/html; charset=UTF-8"
},
{
"name": "Content-Transfer-Encoding",
"value": "7bit"
}
],
"body": {
"size": 48412,
"data": "/here I think is that payload encoded stuff which is much much longer, and not sure if it comes through as the payload variable remains empty after data is requested/"
}
}
]
},
"sizeEstimate": 54609
}