def _create_email_user_param(sailthru_vars, sailthru_client, email, new_user, email_config, site=None):
 sailthru_user = {'id': email, 'key': 'email'}
 sailthru_user['vars'] = dict(sailthru_vars, last_changed_time=int(time.time()))
 if new_user:
  list_name = _get_or_create_user_list_for_site(sailthru_client, site=site, default_list_name=email_config.sailthru_new_user_list)
  sailthru_user['lists'] = ({list_name: 1} if list_name else {email_config.sailthru_new_user_list: 1})
 return sailthru_user

def _create_email_user_param ( sailthru_vars , sailthru_client , email , new_user , email_config , site = None ) : sailthru_user = { 'id' : email , 'key' : 'email' } sailthru_user [ 'vars' ] = dict ( sailthru_vars , last_changed_time = int ( time . time ( ) ) ) if new_user : list_name = _get_or_create_user_list_for_site ( sailthru_client , site = site , default_list_name = email_config . sailthru_new_user_list ) sailthru_user [ 'lists' ] = ( { list_name : 1 } if list_name else { email_config . sailthru_new_user_list : 1 } ) return sailthru_user
create sailthru user create/update parms .