Script to extract attachments from emails in Office 365

Job ID: 36436160

Budget: $30 – $250 USD

I'm looking to have a script created that will allow me to extract attachments from emails on my Office 365 account.

Requirements:
- The Office 365 uses 2 Factor authentication per default.
- I can define the name of the folder emails are in the mailbox: let's call it "foldername"
- I can define a date range to filter the emails:
- I only want PDF attachments. not others.
- I want the file names to be changed to "YYYY-MM-DD-" + original_file_name
- It should be possible to run this script on MacOS. it can use Outlook or Cloud APIs.
- You should give me the instructions, if I need to configure anything.

Please respond only if you can deliver the script within 24 hours. To make sure that you have read this description, please write how long it will take you to deliver the script in your offer. It is part of the requirement and your commitment.

Thank you for your help.