This is a comment on Mass email, posted by WikiAdmin at 23.02.2018 12:22

View source for $user['allow_massemail']

In the foreach loop for sending the emails it checks against ##$user['allow_massemail']##, --but it list all active users in the form itself. This needs to be changed.-- FIXED revision:1fbfc53 

It is on the user to opt in, the question is if it needs an option to override this setting?

The module needs additional work. Imagine a teacher who wants to send a mail to a certain class of his, e.g. for home work or excursion info.