Support for Contact Integration in Scripts

It would be great to have contact integration in drafts so I can read and even write contact data using custom scripts.

So using an API class like calendar a user can find a given contact or popup a contact selector to select a contact and perhaps a given contact field like email or phone.

The specific use case is leveraging the native Gmail integration but with a contact selector as a precursor step.

Having previously written a contact-related app, I’m not especially interested in adding contacts support to Drafts. This is both because of a lot of weird problems with the contact APIs themselves, and because of the extra App Store review scrutiny and code-signing/provisioning hassles adding such support creates for an app.