Add functionality to sample backend

* set_properties
* save (message)
* delete_message
* create_attachments
* get_attachment_ids
you don't need this extra line (wanted to say this before Jelmer) :)