I did a quick search and found some rather interesting topics, I want to e-mail a file to myself and automatically download the attachment, make some changes and re-mail it back to me. 
For e-mailing the file I am using >this 
The part that I'm stuck on is downloading the e-mail attachment. 
Topics I found: 
'?do=embed' frameborder='0' data-embedContent>> 
'?do=embed' frameborder='0' data-embedContent>>