Add attachments feature

Add ability to add attachments in email messages. This hasn't been fully tested yet.