send mails to group email

Send email to the group email address, if defined. Otherwise to all group members like before.

Still working on one test case failure, but creating request for review purposes.
users = receivers.select { |rcv| rcv.kind_of? User } is quite shorter and more specific to what you're doing