resend.addContactToSegment adds one contact to one segment.
automations/add-resend-segment-member.automation.ts
contactId accepts a contact ID or email. segmentId is the existing segment ID. Optional second argument { account } selects the binding. Returns { object: "contact_segment"; contactId; segmentId }.