Customize/add labels in contacts

The People app itself is closed source, however it is not the only piece of software involved.

There are various components such as buteo-sync-plugin-carddav, contactsd, qtcontacts-sqlite-qt5 the contacts database and probably some more. Most of those are on github, but documentation on how they work together is sparse.

One starting point would be the excellent write-up about Buteo in the Community News here: