Add functionality to sample backend

* set_properties
* save (message)
* delete_message
* create_attachments
* get_attachment_ids
Again. It seems they repeat. So a named "constant" will help on maintainability.