I need to setup a Ruby / Rails application which can accept incoming emails, the body of the emails will be ignored, each email will have one or more large attachments (graphics) up to 20MB in size, the app will receive approx 10-20 of these emails an hour.
I need to use a custom email address / domain.
Quick processing of the emails is not a big priority, however each email should get handled in at most 5 minutes after it arrives.
I was thinking of having all emails automatically forwarded from my info@mydomain.com mail account to a GMail inbox, then have a Rails lib script use MMS2R & TMail access GMail, download any new mails & add them to a message queue (delayed job), this script would be invoked by a cron job once a minute.
This solution just does not "smell right" & I would be concerned about its ability to scale; I don't want to load up the whole Rails stack each time the cron / script is run.
Does anyone have experience with incoming mail & attachment processing in Rails?