01
谁在用
Who一位投资人兼开发者。
02
遇到什么问题
Challenge想复刻 Affinity 的“未回复邮件”功能,找出过去一周需要回复的邮件。
03
怎么用 AI 解决
Solution- Devin 搞不定 Gmail API 认证,作者在 Cursor 中自己写了这部分。
- Devin 写出列出过去一周主收件箱中待回复邮件的函数,在自己的浏览器中阅读 Gmail API 文档,做了前端并部署。
- 之后又让它加入 Supabase 存储。
04
结果如何
Results据原作者自述- 一个深夜就做出可用函数、前端和公开部署
- Devin 以人类速度工作:Supabase 设置超过一小时,作者说自己 10 分钟能搞定;Devin 每月 500 美元
以上内容均由原作者自行报告,未经独立核实,也不代表造物云产品的效果。
05
提示词
Prompt参考提示词(由 agentusecases.ai 整理为模板,非原帖原文)
中文
写一个小脚本,通过 Gmail API 连接我的邮箱,列出过去【天数】天收到但还没回复的邮件,显示发件人、主题、日期和链接,跳过周刊和自动邮件。带我完成认证设置。
ENGLISH
Build me a small script that connects to my Gmail account through the Gmail API and lists every email from the past [number] days that I received but haven't replied to. Show each one with sender, subject, date and a link, and skip newsletters and automated mail. Walk me through the OAuth setup steps, and stop once I can run it and see a correct list; it must be read-only and never send or delete anything.