Created apiActions.gmail.getMessagesArrayFromIDs function which returns an array of message objects from an array of message IDs. It fetches them in batches of 100 to make things faster.