code: def create_account(self, email, password=None, attrs={}):
          
          attrs = [{'n': k, '_content': v} for k, v in attrs.items()]
  
          params = {'name': email, 'a': attrs}
  
          if password:
              params['password'] = password
  
          resp = self.request_single('CreateAccount', params)
  
          return zobjects.Account.from_dict(resp)
docs: :param email:    Full email with domain eg: login@domain.com
          :param password: Password for local auth
          :param attrs:    a dictionary of attributes to set ({key:value,...})
          :returns:        the created zobjects.Account