Allow email permission every week with google script?

I have a google app script to send an invoice from an email address in my google sheets. I gave it permission. Can anyone tell me why I have to keep giving it permission every week is there a work around?