ECMS-2728: Improve email notification when a content's state is updated

Fix description:
    - repair PostUpdateStateEventListener.java to enable sendMail action