UPDATE: well, I found the problem. It seems to be a bug(?) in bp_get_email. That function should get the email-template from the main/root blog. When another blog is active, it switches to the rootblog for the template-query. That switch (switch_to_blog) doesnt seem to work.. So it only works on the rootblog, not on the other blogs (multisite).
Next I checked the difference between the queries on the rootblog and the other blogs. The difference is in the Post_type statement:
– On rootblog: wp_posts.post_type IN (‘bp-email’)
– On other blogs: wp_posts.post_type IN (‘post’)
The bp_get_email_post_type and bp_get_email_tax_type do return the right values when switched to the rootblog, but maybe there’s some filter on WP_Query where the posttypes are verified or something?
I just upgraded from BuddyPress 2.3.4 to 2.7.4 (WP 4.7.1) but now we seem to have a problem with the mentions. Users used to get an notification-email when they were mentioned in the comments on one of our sites. That doesnt happen anymore. But the emails from private messages or replies on activity-updates do work…