展示HN:AI邮件优先级排序器 – 使用Nvidia大语言模型自动整理Gmail

2作者: anandvc18 天前原帖
我构建了一个开源的电子邮件优先级系统,利用人工智能分类自动整理Gmail邮件。 问题:我每天收到200多封邮件,重要的商业机会常常被新闻通讯和垃圾邮件淹没,手动分类需要耗费数小时。 解决方案:一个NextJS应用程序,具有以下功能: - 通过IMAP连接到Gmail - 使用NVIDIA的Llama-3.1-nemotron-ultra模型进行分类 - 自动创建并将邮件整理到“AI优先级/需要回复”和“AI优先级/商务”文件夹中 - 批量处理邮件,并具有超时保护 - 每15分钟通过定时任务运行一次 技术细节: - 使用NextJS、TypeScript和Tailwind构建 - 利用NVIDIA LLM API进行智能邮件分析 - Gmail IMAP集成,具备适当的错误处理 - 在Vercel上部署,确保环境变量安全 - 完善的日志记录和监控 性能: - 33秒内处理25封邮件 - 99%的分类准确率 - 每天处理200多封邮件 - 节省超过2小时的手动分类时间 分类逻辑识别: - 需要回复:直接问题、会议邀请、客户咨询、个人消息 - 商务:工作机会、合作伙伴关系、投资机会、销售线索 所有内容均为开源,配有全面的文档,免费Vercel部署,使用免费的NVIDIA NIM LLM API,Val Town的免费计划,以及可自定义的AI提示。 GitHub: [https://github.com/anandvc/email-prioritizer](https://github.com/anandvc/email-prioritizer) 您面临哪些电子邮件自动化挑战?非常希望能收到您对分类逻辑的反馈!
查看原文
I built an open-source email prioritization system that automatically organizes Gmail emails using AI classification.<p>The problem: I was getting 200+ emails daily and missing important business opportunities buried in newsletters and spam. Manually sorting took hours.<p>The solution: A NextJS application that: - Connects to Gmail via IMAP - Uses NVIDIA&#x27;s Llama-3.1-nemotron-ultra model for classification - Automatically creates and organizes emails into &quot;AI-Priority&#x2F;Needs Reply&quot; and &quot;AI-Priority&#x2F;Business&quot; folders - Processes emails in batches with timeout protection - Runs every 15 minutes via cron jobs<p>Technical details: - Built with NextJS, TypeScript, and Tailwind - NVIDIA LLM API for intelligent email analysis - Gmail IMAP integration with proper error handling - Vercel deployment with environment variable security - Comprehensive logging and monitoring<p>Performance: - Processes 25 emails in 33 seconds - 99% classification accuracy - Handles 200+ emails daily - Saves 2+ hours of manual sorting<p>The classification logic identifies: - Needs Reply: Direct questions, meeting invites, customer inquiries, personal messages - Business: Job offers, partnerships, investment opportunities, sales leads<p>Everything is open source with comprehensive documentation, free Vercel deployment, use of free NVidia NIM LLM API, free plan for Val Town, and customizable AI prompts.<p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;anandvc&#x2F;email-prioritizer">https:&#x2F;&#x2F;github.com&#x2F;anandvc&#x2F;email-prioritizer</a><p>What email automation challenges do you face? Would love feedback on the classification logic!