code: public static void createUsers(GreenMailOperations greenMail, InternetAddress... addresses) {
          for (InternetAddress address : addresses) {
              greenMail.setUser(address.getAddress(), address.getAddress());
          }
      }
docs: Create users for the given array of addresses. The passwords will be set to the email addresses.
  
  @param greenMail Greenmail instance to create users for
  @param addresses Addresses