Email Record: Optimal service policy for the M/G/1 queue with multiple classes of arrivals /