【问题标题】:Get the Message Id or thread Id immediately after sent gmail发送 gmail 后立即获取消息 ID 或线程 ID
【发布时间】:2018-09-11 21:28:51
【问题描述】:

我可以在使用 google script 或 gmail API 发送 gmail 后立即获取 message id 或 thread id 吗?

【问题讨论】:

    标签: google-chrome-extension gmail-api gmail-addons


    【解决方案1】:

    是的,你可以。

    根据documentation,当您使用API​​ 的Users.messages.send 方法发送消息时,响应将是messages.resource,其中包括消息ID 和刚刚发送的消息的线程ID。

    【讨论】:

    • 感谢 Iván 的回答,但我不会尝试创建另一个发送按钮,我的想法是在撰写视图中使用相同的 gmail 发送按钮,当发送电子邮件时我可以收到消息id 或线程 id。
    猜你喜欢
    • 2016-05-29
    • 2014-02-01
    • 2018-02-16
    • 1970-01-01
    • 2020-07-03
    • 1970-01-01
    • 2017-08-17
    • 2020-12-14
    • 1970-01-01
    相关资源
    最近更新 更多