This extension, currently built for .NET only, has one single method: RetrieveAttachments.
It receives a structure and returns a structure. Cool, right?
On the input, you'll specify the binary - the .msg file - and two comma-separated lists: exceptions and allowed.
Exceptions: A comma-separated list of extensions that should not be retrieved. E.g., ".txt,.ics,.gif"
Allowed: A comma-separated list of extensions that should be retrieved. E.g., ".txt,.ics,.gif". Has priority over Exceptions element - if the same extension is included in the Allowed and Exceptions list, it will be allowed.