CSV Import assigning groups in newsletter

I want to know about importing a list of emails, name into a specific group. I have several groups and users are not assigned to all groups based upon their role. Or is this going to be a manual process? That would be challenging if I had thousands of emails.