She took a savage pleasure in the idea of "speaking her mind" to her, in the guise of fulfilment of a duty. 
She took a savage pleasure in the idea of 'speaking her mind' to her, in the guise of fulfilling her duty. 