For now, I'm fine with allowing Google/any other big company to manage my email; however I'd prefer to keep my storage documents/photos/contacts out of the storage of third party companies.
I'm looking for solutions that I can deploy on my own servers, preferably open source, and should auto sync a majority of these categories: (photos, documents, contacts, general storage).
I'd really love if the client supports certificates as well.
Could you also suggest corresponding opensource Photos Gallery apps?