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.