Add functionality to sample backend

* set_properties
* save (message)
* delete_message
* create_attachments
* get_attachment_ids
frankly said, I found previous version more readable.
Having a lot of things happening on single line - filtering and iteration, makes it a bit difficult to read