Gmail中的操作: 删除/隐藏发件人的电子邮件地址,并修改电子邮件正文中的字符串/单词。
答案 0 :(得分:1)
尝试使用此:
function doGet() {
var thread = GmailApp.getInboxThreads(0,1)[0]; // Get first thread in inbox
var message = thread.getMessages()[0]; // Get first message
var text = (message.getPlainBody()); // get contents of the body
message.reply(text) //return contents
}
尝试查看更多选项(here)