This code print emails from gmail, but when i print 'body' shows only a part of mail. I've founded that there is more or less 200 chars in output, so probably message is too large to be a string, but I don't know how to solve it. Maybe hould i save these mails to diffrend type.
results2 = service.users().messages().list(userId='me').execute()
messageids = results2.get('messages', [])
for messageids in messageids:
message =(service.users().messages().get(userId='me',id=messageids['id']).execute())
body = message['snippet']
Thanks for any help.