I was looking at old posts related to this subject, and I found this answer from bob123
And to finally answer your question, you can generate X addresses by entering this command into the electrum console:
for i in range (X): print (wallet.create_new_address(False))
Have you tried this?
I just tried in my wallet and it works
For example:
>>> for i in range (5): print (wallet.create_new_address(False))
bc1qk5grech0kpf20z4d30sffqk7praqs2rjdqxpta
bc1q6ewatg8ej9tmzpldxn6v6uqq78wz3vznuffkwz
bc1qk0rjxjqfwwlcq2wpq7juw0eelujfejjsuwmp8f
bc1qpw2ywwszfp8qacu2urrptzvr4l5n8ksy2mkrsc
bc1qtpheu3tp0ve2pakx32pttrslnks7f5jmatd45z
>>>
Then you can simple generate all addresses you want and give them to whoever you want.
I don't like that "request" feature and you don't need it.
Is there a code which will create the address and also crate a label?