I am using Email Services to process emails and email attachments and attach them to the Notes and Attachment section of a custom object. However when I send out an email with .eml or .msg file as an attachment salesforce creates 3 records in the Notes and Attachments. One has the actual email body of the attachment and other 2 files contain some html tags.
Any idea why 3 records are created?
To:
,Subject:
andDate:
headers among many others. This would be close to how Salesforce receives the email (maybe a few different headers) and might provide some indication about how the email (and attachments) are being handled.