resend.createContact creates a contact with optional segments and topic preferences.
automations/create-resend-contact.automation.ts
email. Optional fields are firstName, lastName, string, number, or null properties, segments as { id } objects, topic choices with opt_in or opt_out, and global unsubscribed. Optional second argument { account } selects the binding.
Returns { id: string; object: "contact" }.