Get user email address on install.py

Hello, I’m trying to create an email notification system after installation completed to users email

I have everything ready except user email address.

I was checking install.py and most of values taken by below syntax

cpu_cores = get_arg(‘vps[vps_cpu_core]’)
address = get_arg(‘ip[ip]’)
network = get_arg(‘ip[network]’)

So I thought if I prepare something like below should work.

useremail = get_arg(‘user_email[email]’)

However didn’t work.

any idea how can I get user email address ? I can share this later on Github I think its super cool idea to send automatic email to customers after OS installed with login credentials etc. Any ideas appreciated

Thank you,