These insert arrays were specific to the notifications table.

At this moment, we have several items that are method specific on the types, one to get the data related to the notification for storage/output and one for email templates (are there others?). These should probably be done more generically, e.g. a message identifier field and a notification data array--the message identifier string would be used for the language string outputted for the board notifications and would be used for finding the email associated with the notification; the data array would just be generic data output for storage/sending an email/etc.

This could probably be done with a separate PR, but it should be done at some point.