简体   繁体   English

使用G suite插件向gmail消息添加图标

[英]Adding an icon to a gmail message using G suite add-on

Is it possible to add an icon or banner to the gmail interface that will be shown on top of a email message? 是否可以在gmail界面上添加一个图标或横幅,它将显示在电子邮件的顶部?

If yes, how? 如果有,怎么样? I could not find any information about it in the G Suite developer guide. 我在G Suite开发人员指南中找不到任何相关信息。

You can do this without any extensions with Canned Responses. 您可以在没有Canned Responses的任何扩展的情况下执行此操作。 Go to settings > advanced to enable them, then composes a new message. 转到设置>高级以启用它们,然后编写新消息。 Add your image, click the three-dot menu > Canned responses > Save draft as template > save as new template. 添加图像,单击三点菜单>预设响应>将草稿另存为模板>另存为新模板。 In the future when you're composing a message you can load the template to place your image or banner there. 将来当您撰写邮件时,您可以加载模板以将图像或横幅放在那里。

If you want to use HTML, you need to send mail with the Gmail API. 如果您要使用HTML,则需要使用Gmail API发送邮件。 The easiest way to do this is with App Script, the instructions are here . 最简单的方法是使用App Script,说明在这里 Keep in mind this means writing your entire email in a text editor. 请记住,这意味着在文本编辑器中编写整个电子邮件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM