tags:

views:

57

answers:

3

Is there any webservice (API) that can receive emails and process their attachements to deliver them into my app?

A: 

There already are two "APIs": POP3 and IMAP...

Messa
Yes, but I want a full solution that handle the email (with own SMTP servers), takes out the attachements, them for example upload the files on S3, and then ping my service.
Pierre Valade
+1  A: 

Based on your comment to Messa it sounds like you don't want an API at all. You're looking for an external service to "read" and process emails in a quite specific way.

Have you looked at implementing something to retrieve the emails and process them yourself? Depending on the language/tools you're using I'd be surprised if this was very difficult. (I've done this sort of thing in several languages before within little problem.)

If you're using an external service/API you'd have to give it credentials to access your email and S3 accounts. You probably want to be wary of this if security is any kind of requirement for you.

Matt Lacey
@Matt: that's right. I don't want to handle this part in my app (I've done it with Ruby already), so I'm looking for an external service to do it, as Twilio for SMS or Call would do.
Pierre Valade
@Pierre - I'm not aware of such a service. You're requiremetns are also quite specific so I'm not sure you'd find one. The biggest potential issue I see for you would be the requirement to ping your service when a new attachemnt has been downloaded. How should that ping work? Should it provide information about the attachment which has just been downloaded? If so, how should it include this? You'll need answers to these questions to be able to identify the service you require.
Matt Lacey
This could be the same way services handle SMS
Pierre Valade
@Pierre can you explain what you mean by "This could be the same way services handle SMS"?
Matt Lacey
I would like the service to notify my app that a new email has been sent by a POST or GET request to a given url with some parameters, such as the sender, the subject, body ... and the attachements the same way a FORM tag work.Thanks Matt for your help.
Pierre Valade
+2  A: 

Sendgrid.com has a Parse API that could do the job in fact : http://wiki.sendgrid.com/doku.php?id=parse_api

This is great!

Pierre Valade