changes for report - flagged messages