Delete multiple emails before a date in iOS 14 not using iCloud
On my iPhone 12, iCloud is NOT being used to store emails, and many of the emails on the phone are from POP servers, so deleting them on a desktop or cloud email program does not delete them automatically on the iPhone as in IMAP accounts.
Question: how is it possible to delete all emails before a certain date in an automated way without having to delete them one by one, or page by page.
In other words, the entire operation has be done on the iPhone without the assistance of iCloud or a desktop or cloud email program.
Is there a way on the iPhone itself to delete multiple emails (hundreds or thousands of them) before a certain date in an automated way? From All Inboxes or from any other folder like Sent?
iPhone 12, iOS 14