? The Kansas Department of Administration has apologized after several state employees were mistakenly notified that they had been fired.

About 3,800 state employees received an email notification regarding W-2 statements that was intended only for people who retired or were fired last year, the administration department said Thursday.

Department spokesman John Milburn said he wasn’t sure how many of the people who received the email were supposed to be on the list, The Topeka Capital-Journal reported.

“It was a computer error,” Milburn said. “There was a glitch in the program.”

The email said: “This is a notification that, due to your employment being terminated, the company will no longer furnish you electronic W-2 and W-2c forms.”

Kansas Department for Aging and Disability Services, Kansas Department of Revenue, Kansas Public Employees Retirement System and Department of Administration employees were among those who received the email.

Milburn said the mistake happened when the email was copied to employees who transferred from one state agency to another but hadn’t permanently left state government work.

The agency sent an email Thursday apologizing for the mistake.

“This should only have been sent to terminated or retired employees,” the email said. “If you are receiving this and did not terminate or retire during 2015, please disregard as your electronic consent is still valid. We apologize for any confusion this has caused.”