Currently the HTML5 IAM Sample does not give an option to add attachment to a message. This is consistent across Ruby, PHP & Java Servers.