def email_alerts(action):
 if action:
  return __execute_cmd('config -g cfgEmailAlert -o                 cfgEmailAlertEnable -i 1 1')
 else:
  return __execute_cmd('config -g cfgEmailAlert -o                 cfgEmailAlertEnable -i 1 0')

def email_alerts ( action ) : if action : return __execute_cmd ( 'config -g cfgEmailAlert -o                 cfgEmailAlertEnable -i 1 1' ) else : return __execute_cmd ( 'config -g cfgEmailAlert -o                 cfgEmailAlertEnable -i 1 0' )
enable/disable email alerts cli example: .