You can use Power Automate to automatically move email file attachments such as PDF or any other files type to a folder in OneDrive for Business.
How to save email attachments to OneDrive for Business using Power Automate
You can use Power Automate to automatically move your email attachments to a folder in OneDrive for Business.