I wrote a script that synchronizes contacts from a SQL-Database to Kopano using python3-kopano.

I also added categories to these contacts.
However, these categories are not listed, when you want to search and filter.

So, how to check if any given category is already there and how to add it, if not?

It’s a public contact folder by the way, so all users should be able to filter with these categories.

Thanks for reading,