This patch is preliminary but mimics the functionality of the patches to notifications submitted in. The messaging patches in that issue were committed to messaging-6.x-2.1 and still need work, but it was decided to move the notifications portions to notifications_extra.
Here are the features that still need to be implemented:
- Per content type settings
- Some tokens to optionally have attachments as links in the message body.
- Check visibility permissions, as the attached files may not be visible for users
By the way, someone (Jose?) needs to add an "Attachments" component to this project and update this issue accordingly. We should probably also add a general "Feature request" or "Other" component.