SAP Open Connectors

Gmail - How to POST/messages via API with an Email Body Content

When using the API call to POST /messages for the Gmail connector, the JSON payload should reference the key "data" for the email body content.

Here is an example of a working payload:

{

"from": "YourEmail",

"subject": "TestEmailWithBody", 

"to": "EmailAddressToSendTheMessage", 

"data": "This is a test text message." 

}