account, so the message leaves from that address and appears in its Sent folder.threadId and messageId from the message being replied to. Without them the message starts a new thread. Supply body for HTML or text for plain text; sending both lets the client pick.This endpoint delivers real mail to real recipients. There is no sandbox mode.
{
"userId": "K5PF9Y068AMDGENV5BTCNJJZK55F",
"account": "andrew.lawyer@aurumlawyer.com",
"to": "client@example.com",
"subject": "Following up",
"body": "<p>Just checking in on the proposal.</p>"
}curl --location 'https://customers.coldmailreseller.com/api/v1/integration/onebox/send' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "K5PF9Y068AMDGENV5BTCNJJZK55F",
"account": "andrew.lawyer@aurumlawyer.com",
"to": "client@example.com",
"subject": "Following up",
"body": "<p>Just checking in on the proposal.</p>",
"text": "Just checking in on the proposal.",
"cc": [
"colleague@example.com"
],
"bcc": [
"archive@example.com"
],
"threadId": "1877937258181177440",
"messageId": "<Gq3K93hRllxHkWlnjYO1wg@notifications.google.com>"
}'{
"status": 200,
"message": "Email sent",
"data": {}
}