Support inline attachments *import*

Addresses issue #398