Classical and quantum emitters near a metal surface