Paperweight
7.8#3 in email cleanup softwareFrom $55 a yearFree planLinuxmacOSWindows
VisitPaperweight suits people who want to review account relationships, mailing lists, and personal details in their email and manage cleanup from a desktop. Its free plan is limited to one email account; multiple accounts and cleanup actions are available in paid plans.
You want what its maker publishes above — check its page for the details.