For example, consider this script. It requires me to grant permission to my Gmail account, but I'm confused why this is necessary -- is it not myself who is running the script? Or is my data going through someone else's servers than Google? Can I trust the scripts I find on sites like that?
Edit: I only mean "trust" from a privacy perspective, not an integrity perspective. In other words, I'm not worried about a malicious script deleting my data, but I am worried about it sending my data to someone else's servers.