Iβve recently gone down the rabbit hole of looking at JMAP (aka JSON Meta Application Protocol) which Fastmail supports (I signed up). Itβs a modern http/json protocol being worked on at the IETF, supporting email today, then contacts, calendars, etc