如何更改代表Google Calendar API服务帐户发送的邮件的发件人电子邮件地址

And*_*ill 6 google-api

我使用服务帐户访问Google Calendar API.我的程序创建日历并与用户共享.目前,用户收到一封电子邮件(由Google发送,而不是我发送),其中包含非常长且笨拙的发件人和难以阅读的邮件.

发件人看起来像 3928472398472-ehrufh3478fh3487fh387fh32f7h2d323d@developer.gserviceaccount.com

消息看起来像这样:

We are writing to let you know that 3928472398472-ehrufh3478fh3487fh387fh32f7h2d323d@developer.gserviceaccount.com has given you access to edit events on the Google Calendar called "NewCal".

有没有办法为这些自动生成的电子邮件指定发件人电子邮件地址,以便我可以指定用户将识别并信任的名称?从现在看来,很容易假设这些是垃圾邮件,因此会被忽略.

谢谢你的帮助.