How do I delete all my mail from the inbox in ProtonMail?

When using ProtonMail, there doesn’t seem to be a way to delete all my mail in my inbox. I have over 10K+ emails that I just want to archive. Currently I have to select one at a time to move them to archive. Is there an easier way to move all of it to archive?