Proton does not currently offer CalDAV or CardDAV services, however there is a highly modular platform used by many large companies that allows for simple integration into third party authentication services: Baikal, backed by sabre/dav.
Does Proton have a published API that could be leveraged for authentication? sabre/dav already has a plugin for IMAP, but of course that can’t put targeted to Proton. Many services offer access to their IDP these days, I’m wondering if there is a service like this from Proton as well?
Official API client used by proton: https://github.com/ProtonMail/go-proton-api
I didn’t see any good documentation. Its in use by (or has at least inspired) https://github.com/henrybear327/Proton-API-Bridge?tab=readme-ov-file
The API bridge backs rclone’s Proton Drive support.