code: def get_email(self) -> str:
      if not self.email:
          cli = self.get_rest_api_client()
          user = cli.get_current_user()
          if user is None:
              raise CloudRESTApiClientError(
                  "Unable to get current user from yatai server"
              )
          self.email = user.email
          add_context(self, ignore_warning=True)
      return self.email
  
imports: from __future__ import annotations
  import logging
  import typing
  import attr
  import yaml
  from simple_di import Provide
  from simple_di import inject
  from ...exceptions import CloudRESTApiClientError
  from ..configuration.containers import BentoMLContainer
  from ..utils import bentoml_cattr
  from .client import RestApiClient
label_desc: Use image node_id 2 for calling the CloudClientContext obj's underlying member method code with example usage: obj.get_email() and returns: self