#NEWLINE# def make_email_settings_uri( self , username , setting_id ) : #NEWLINE# #INDENT# "Creates the URI for the Email Settings API call.\n\n    Using this client's Google Apps domain, create the URI to setup\n    email settings for the given user in that domain. If params are provided,\n    append them as GET params.\n\n    Args:\n      username: string The name of the user affected by this setting.\n      setting_id: string The key of the setting to be configured.\n\n    Returns:\n      A string giving the URI for Email Settings API calls for this client's\n      Google Apps domain.\n    " #NEWLINE# if ( '@' in username ) : #NEWLINE# #INDENT# ( username , domain ) = username . split ( '@' , 1 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# domain = uri . domain #NEWLINE# #UNINDENT# uri = ( EMAIL_SETTINGS_URI_TEMPLATE % ( self . api_version , domain , username , setting_id ) ) #NEWLINE# return uri