fix blank emails for users with no groups