code: def add_member_email(self, email, permissions=None):
          
          data = {'email': email}
  
          if isinstance(permissions, dict):
              data.update({
                  'permissions': permissions
              })
  
          extra = {
              'resource': self.__class__.__name__,
              'query': {
                  'id': self.id,
                  'data': data,
              }
          }
          logger.info('Adding member using email', extra=extra)
          response = self._api.post(
              url=self._URL['members_query'].format(id=self.id), data=data)
          member_data = response.json()
          return Member(api=self._api, **member_data)
docs: Add a member to the project using member email.
          :param email: Member email.
          :param permissions: Permissions dictionary.
          :return: Member object.