I have a raw email (tested on playground and working) and I want to send it with Google\'s Gmail API from Google Apps Script.
I can\'t find the right syntax for the requ
I found the solution to my question:
var RequestArguments = { headers: {Authorization: 'Bearer ' + token}, method: "post", contentType: "application/json", payload: JSON.stringify(jsonMessage) };
jsonMessage is the whole message, not only the raw part!