Refactor PolicyNotificationMail for sonar issues

SONAR flagged issues related with complexity of method being high
and more than 3 nested loops in the PolicyNotificationMail

Issue-ID: POLICY-986
Change-Id: Ife3e6b5610cec4bcf3898fdcad4cc2c9a3d61932
Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
1 file changed