Store Picture or Send Email

I am working on a SMARTAPP that takes a picture from my DLINK DCS-942L. I have been able to get the camera to take a picture when there an event occurs and display in the title.

Now what I want to do, is:

A. Have the picture emailed


B. Store the picture somewhere and have the link send to me.

Can anyone assist with how might be able to can accomplish this?

One solution: store images in a public folder in Dropbox, and use IFTTT to notify you when a new image is saved there.

Yeah hopefully the SmartThings team builds this into their API for us developers. If and when I attend the next developer open hours I will request that feature to the team.