help you fix your problem According to the GMail history API, the list only contains the id and threadId fields. It works this way because the objective of the history API is to provide you with the changes that happened in the mailbox, not its contents.
I hope this helps . messages.list does not return much more than just the identifiers. not sure what the field selector is but i don't believe it's used. however you can use a batched message.get to then retrieve many messages at once in a second call:
Any of those help I want to send a clickable link to gmail message body and google plus message while sharing in iOS.I have tried many ways with HTML.But end up with issue , Just replace your link with href
wish help you to fix your issue Methods prefixed with new in an Advanced Service serve to generate empty resource objects. They exist solely for the purpose of code completion in the Apps Script editor. To use them effectively you have to set the required properties on the objects produced by these methods and then pass them to methods that require that resource. So in your case you'd create a message as follows:
var messageResource = Gmail.newMessage();
messageResource.raw = Utilities.base64EncodeWebSafe([messageData]);