If you're looking for more robust/common software take a look at the "mpack" package of tools.
Syncing to dropbox is left as an exercise, but presumably you'd just configure your attachments to be saved into the magic folder, perhaps on a per-suffix basis. (e.g. ~/shared/attachments/jpg/foo.jpg)
e.g. I wrote this quick hack recently https://gist.github.com/skx/ba07ba7fbb0788c6ba68
If you're looking for more robust/common software take a look at the "mpack" package of tools.
Syncing to dropbox is left as an exercise, but presumably you'd just configure your attachments to be saved into the magic folder, perhaps on a per-suffix basis. (e.g. ~/shared/attachments/jpg/foo.jpg)