this is my first Stackoverflow Questions, so I\'m trying to do my best to be clear and structured here but please forgive me for beginner mistakes :)
So I\'m having a li
[In case you find yourself here] From the documentation:
...for example, the user's email address is not available in any context that allows a script to run without that user's authorization, like a simple onOpen(e) or onEdit(e) trigger...
This explains the behaviour the OP was facing...