我如何使用GMailApp访问用户的域帐户

问题描述:

我需要知道如何使用对象 GmailApp 从Google Apps脚本访问相同域的不同用户收件箱。可能吗?如何?

I need to know how to use the object GmailApp from Google Apps Script to access to different user inboxes of the same domain. Is it possible? How?

在此先感谢您,
Ernesto。

Thanks in advance, Ernesto.

Unfortunately that is not possible. Apps Script only allows access the active user's data. To access their inbox you'll need them to run the script.