curl --location --request POST 'https://api.zapmail.ai/api/v2/onebox/send-email' \
--header 'x-auth-zapmail: YOUR_API_KEY' \
--header 'x-workspace-id: WORKSPACE_UUID' \
--header 'x-service-provider: GOOGLE' \
--header 'Content-Type: application/json' \
--data-raw '{
"from": "sender@example.com",
"account": "sender@example.com",
"to": "recipient@example.com",
"subject": "Email Subject",
"body": "Email body content",
"cc": ["cc1@example.com", "cc2@example.com"],
"bcc": ["bcc1@example.com", "bcc2@example.com"],
"messageId": "message-id-for-reply",
"threadId": "thread-id-for-reply"
}'