Hey so I am having a problem getting the payload form my message. It keeps telling me something is undefined. This is an example of the object I am using. However when I call things like message.payload.headers[x] I keep getting an error saying it's undefined. I am using the the gmail gapi api with Angular. If anyone could tell me why I can't get of this error there's a up vote in it for you! Thanks in advance
