Text this: Formulating agent's emotions in a normative environment