Attachments are selected by name.

The reaction Content-Type is the the attachment Content-Type unless overwritten by the attachment script.