Skip to content

EMail Assistant with ChatGPT. 旨在帮助用户高效地识别和处理邮件的重要度。通过分析邮件内容、发件人信息和主题等,系统自动对邮件进行分类和优先级标记,并根据邮件内容生成简明摘要。

License

Notifications You must be signed in to change notification settings

wzqvip/MailPriorityAI

Repository files navigation

AI-email-assistant

e-Mail Assistant with ChatGPT

An intelligent email assistant to help users efficiently identify and prioritize important emails. By analyzing content, sender information, and subject lines, the system automatically categorizes emails, assigns priority levels, and generates concise summaries.

因为学校邮件天天一大堆讲座宣传什么的,经常会耽误了去看重要信息,所以就想做一个智能分类器,核心是去区分邮件的重要级,防止漏掉重要邮件。 邮件总结其实是为了gpt误判后人工审核的,加了之后发现确实不错。

1730648208190

一个雏形,目前没有精力去完整的做完这个项目。 GPT4o-mini非常便宜,开发期间处理了423封邮件,输入(312,446+113,920) tokens,输出49,269 tokens, 消费$0.08.

需要创建一个 .config 文件,内容如下,换上自己的token

[EMAIL]
IMAP_SERVER = imap.xxx
EMAIL_ACCOUNT = username@mail
EMAIL_PASSWORD = password

[OPENAI]
API_KEY = sk-xxxxxxxx

Run

From source code:

python>3.8 环境(openai库要求)

pip install -r requirements.txt

然后运行main.py

From build

Windows环境下打开 main.exe文件

(记得先写好配置文件)

Build

pyinstaller --onefile --add-data ".config;." main.py

About

EMail Assistant with ChatGPT. 旨在帮助用户高效地识别和处理邮件的重要度。通过分析邮件内容、发件人信息和主题等,系统自动对邮件进行分类和优先级标记,并根据邮件内容生成简明摘要。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages