通过python发送保存在gmail中的模板

问题描述

我知道如何使用 Python 和 HTML 正文发送电子邮件。我的问题是;我可以在 gmail 中创建模板 - 有没有办法在 Python 中使用 gmails API 发送该特定模板?

例如说我保存了以下内容

Hi,This is a test mail
which is a template

保存在模板名称“template_test”下。

我可以,以某种方式吗

from gmails_api import get_templates #Dont think this exists
template = get_templates("template_test")
to_email ="me@company.com"
.
.
.

email.send()

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)