How to Use Inbound Mail (including attachments) to Create Data in Rails App?

I am trying to create a feature within my application to receive
product data including an image attachment via inbound email.

Can someone point me to a tutorial or other document online that will
help out with this. I have started hammering at Google, but was
hoping someone could provide a link.