I\'m using the python version of the newly released Gmail API by Google.
The following call returns just a list of message ids:
service.users().messa
Here is the solution that worked for me:
batch = BatchHttpRequest() for msg_id in message_ids: batch.add(service.users().messages().get(userId='me', id=msg_id['id']), callback=mycallbackfunc) batch.execute()