Can't add sender and recipient when creating email

Hello, everyone. I’m trying to programatically create some mails via the Hubspot API. I’m using the POST/crm/v3/objects/emails endpoint (Accounts Dashboard | HubSpot). In the example on that page there is the following data:

However if I try that payload I get the following error:

Where it basically states that the sender and receiver fields are readonly.
What’s the point of creating mails if you can’t add the receivers and senders? Is there anyway around this?
Thanks for the help.

Hi @jpinto_ic

Thank you for reaching out.

I want to tag some of our experts on this - @himanshurauthan @miljkovicmisa @Mike_Eastwood do you have any thought for @jpinto_ic on this?

Thank you!

Best

Tiphaine

Hello @TitiCuisset and @jpinto_ic:

So the endpoint: /crm/v3/objects/emails/ is a beta feature, and we can experience some instability around the same.

If you want to create some marketing emails then you check the marketing email doc.

Engagements Email

Marketing API:

Hope this helps.

Best regards,

Okay, thank you.

It has been five months since this response, and the answer of “You can’t actually send emails this way because the fields that control sending emails are read-only” is not a particularly good one - this isn’t a beta feature, it’s an unusable feature. When will this be fixed?