text: 
      def emails_in_groups(self, *groups):
          groups = set(groups)
          emails = set()
          for e, g in self.email_map.items():
              if g & groups:
                  emails.add(e)
          return emails
  