is there any way to query/find big attachments in a user account through zmmboxsearch or anything similar ??

I want to be able to script this, and find (for example) , all the attachments that are more than 5MB in a user , in order to delete them and free up some space in user's quota.

Or to be able to have a report that
userA@domain.com has 15 attachments that occupied 75MB of his quota
10 files are .zip
10 files are .avi
25 files are .bmp

Any ideas how to start with that ?

Thank you,