Two prison workers have been sentenced today for having inappropriate relationships with inmates - including oral sex and sending erotic letters.