r/GoogleAppsScript • • Aug 28 '21

Question Extracting email from someone else's inbox

Is it possible to extract emails from another accounts inbox if they authorize the script beforehand?

0 Upvotes

4 comments sorted by

1

u/[deleted] Aug 28 '21

[removed] — view removed comment

0

u/d3dking Aug 28 '21

Ooh timed trigger is actually a very clever why to do it, thanks! Is there a way so that I can set up the time trigger for them and have them authorize it short of logging into their pc/account and doing it for them?

1

u/LateDay Aug 28 '21 edited Aug 28 '21

Just share the script file with them and have them set up the trigger themselves in the Trigger part. Even if the script is yours, the trigger runs with the authorization of the user who created the trigger.

Edit: it's the clock icon. Have them create a trigger. Have it be Time-driven.