An unprofessionally written and rude resignation letter may come back to haunt you.