using class and repeated messages

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>
Merge branch 'improvedreportingtemp' into mailimprovements

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>
setting limit to reasons sent 30 lines

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>