Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I safely remove duplicate MSG files without deleting important emails?

Robart
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2025

How can I efficiently identify, compare, and delete duplicate MSG files from my system to maintain a clean, organized, and clutter-free email archive that is suitable for both business and personal use, while ensuring that no original or important messages are accidentally removed in the process?

1 answer

2 votes
Jayesh Raghuvanshi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2025

@Robart 

Use CQL and REST in Confluence Data Center to find .MSG attachments, verify true duplicates by metadata or file comparison, and delete by first moving to trash and only purging once reviewed to avoid accidental loss. Add a review step with labels to mark candidates before removal to keep business and personal archives safe


Query .MSG attachments with CQL, for example: type = attachment AND title ~ ".msg" (optionally scoped by space/creator/date) and export results via the REST content search endpoint for review


Reference KB articles

https://developer.atlassian.com/server/confluence/cql-field-reference/

https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/

 

Thanks

Jayesh R

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events