Newer Version Available
Inbound Email
Use Apex to work
with email sent to Salesforce.
You can use Apex to receive and process email and attachments. The email is received by the Apex email service, and processed by Apex classes that utilize the InboundEmail object.
See Apex Email Service.