This video demonstrates how you can configure File Processor to monitor an Office 365 Exchange mailbox. All attachments from the emails are being saved in a local or network folder and the email addresses are being collected and stored in a text file for later use (e.g. marketing).
https://www.fileprocessor.info
https://docs.winking.be/Tn/Article/201