resend.getContact returns a contact’s profile and global subscription state.
automations/get-resend-contact.automation.ts
contactId accepts a Resend contact ID or email address. Optional second argument { account } selects the binding. Returns id, object, email, optional nullable firstName and lastName, properties, unsubscribed, and createdAt. Use resend.listContactSegments to list segment memberships separately.