UPS will cut 12,000 jobs and released a revenue outlook for this year that sent its shares down sharply.