def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], email: Optional[str] = None) -> None:
        """
        Instantiates a new RegistrationsWithEmailRequestBuilder and sets the default values.
        param email: Alternate key of virtualEventRegistration
        param path_parameters: The raw url or the url-template parameters for the request.
        param request_adapter: The request adapter to use to execute the requests.
        Returns: None
        """
        if isinstance(path_parameters, dict):
            path_parameters['email'] = email
        super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(email='{email}'){?%24expand,%24select}", path_parameters)

        Instantiates a new RegistrationsWithEmailRequestBuilder and sets the default values.
        param email: Alternate key of virtualEventRegistration
        param path_parameters: The raw url or the url-template parameters for the request.
        param request_adapter: The request adapter to use to execute the requests.
        Returns: None
        
msgraph/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py