I'm trying to get mail body by gmail api.
message = self.service.users().messages().get(userId=user, id=i,format='full').execute()
When I put my last email Id. Always I can't find contents in content['payload']['body']['data']
It's shows like this.
"body": {
"size": 0
}
Of course it has message body.
I can get sumally by content['snippet']
,but I can't get the message body body.
If you have any idea about this, please help me.