【问题标题】:How to get the exact message Label from a Gmail thread in Google Script?如何从 Google Script 中的 Gmail 线程获取确切的消息标签?
【发布时间】:2017-04-28 15:57:23
【问题描述】:

有一个方法getLabels(),但它只适用于线程。 但是,如果您在 Gmail 设置中关闭话题,您可以单独为邮件设置标签。

如何在 Google Script 中获取消息标签?

【问题讨论】:

    标签: google-apps-script gmail


    【解决方案1】:

    Apps 脚本无法使用消息级别的标签。见相关Apps Script issue

    Gmail 中的标签过程受到线程问题的困扰。这甚至会影响不使用 Apps 脚本的人,请参阅 How do I work around labels being applied to individual messages and not conversations in Gmail?

    【讨论】:

    • 就是这样:(。感谢您的回复!
    猜你喜欢
    • 1970-01-01
    • 2016-05-10
    • 2015-02-16
    • 1970-01-01
    • 2014-12-31
    • 2018-09-29
    • 1970-01-01
    • 2018-03-11
    • 2018-11-18
    相关资源
    最近更新 更多