Added code samples showing how to create messages with attachments and how to digitally sign them