Automatic addition of users to group based on email domain

I would suggest that you manage those groups with sso and push them when they log in.