https://stackoverflow.com/a/13848096 we could use this to provide a feature of has_attachment() or listing names of attachments