[api] email support for groups

Sends out emails to defined group mailing lists