[api] handle role requests with groups in event mailer