Implemented attachment sharing.
Implemented attachment export.