Open API for public key and encrypted mail exchange