title: Download attachment from an outlook email using R
body: <p>I receive an email every Sunday with an attachment (a zipped folder). The subject of the email never changes. I want to find the latest email with the specified subject line and download the attachment. I am new R user and so far I have only found a way to print the email body based on the subject (from one of the other questions asked on stackoverflow <a href="https://stackoverflow.com/questions/42573699/how-to-retrieve-outlook-inbox-emails-using-r-rdcomclient/42590894#42590894">How to retrieve Outlook inbox emails using R RDCOMClient?</a>). 
  Ideally, I want to find the email with the specified subject received on a  specified date and then download the attachment. Could some please point me in the right direction. Any help will be greatly appreciated. Thank you.</p>