How to manually add users and email in console mode?

@Jared_Needell - I did a simple kludgey thing for multiple users:
with a csv of all my users, I put them into a google sheet and created essentially this line for each entry with a string formula:

=“u = User.create!(username: '”&B45&“', email: '”&A45&“', password: ‘xxx’, mailing_list_mode: ‘true’);u.approve(Discourse.system_user, false) ; u.activate”

I then put the strings created into a file on the server (mail-import.rb), opened the console and typed:

load ‘./mail-import.rb’

It worked a treat