def _get_email_config(intent):
 require_valid_intent(intent)
 return config_domain.Registry.get_config_property(feconf.VALID_MODERATOR_ACTIONS[intent]['email_config'])

def _get_email_config ( intent ) : require_valid_intent ( intent ) return config_domain . Registry . get_config_property ( feconf . VALID_MODERATOR_ACTIONS [ intent ] [ 'email_config' ] )
return the default body for the email type matching the given moderator action intent .