curl --location --request POST '/vendorpayments//email?send_attachment=false&attachments=&file_name=payment_receipt.pdf' \
--header 'Content-Type: application/json' \
--data-raw '{
"send_from_org_email_id": false,
"from_address_id": "2000000011993",
"to_mail_ids": [
"vendor@example.com"
],
"cc_mail_ids": [
"manager@example.com"
],
"subject": "Vendor Payment Receipt from Your Company (Payment#: VP-00001)",
"body": "Dear Vendor,<br><br>Thank you for your services.<br><br>Please find attached the payment receipt for Payment#: VP-00001.<br><br>Payment Details:<br>Payment Number: VP-00001<br>Date: 2024-01-15<br>Amount: $1,500.00<br><br>Best regards,<br>Your Company",
"email_template_id": "string"
}'