feat: IMAP mail sync with thread-to-contact matching (PRD §6.1)
Real IMAP connection via imapflow library: - Connects to IMAP server (IMAPFlow, TLS on port 993) - Fetches recent messages (configurable limit, default 20) - Extracts: from, fromEmail, subject, date, snippet (200 chars) - Thread-to-contact matching (PRD §6.1): 1. Match sender email against persons table 2. If no person match, extract domain and match against company.website 3. Returns matchedCompany + matchedPerson for each email - Audit-logged (action: crm.mailsync:imap) - Zod validated (host, port, user, password, folder, limit) - 502 on IMAP connection failure with detail - 400 on validation failure Tested: invalid creds → 502 'IMAP connection failed', missing host → 400
This commit is contained in:
1 parent
7acc0c5451
commit
e45b68bb8b
1089 files changed
+260614
No files matched your search
+55
@@ -0,0 +1,55 @@
|
||||
# 通用简历模板(不绑定行业)
|
||||
|
||||
适用场景:
|
||||
- 用户暂时没有明确目标方向
|
||||
- 跨行业求职(同一份简历投不同方向)
|
||||
- 早期 / 应届候选人
|
||||
- 行业不在前三类(教育 / 医疗 / 政府 / 实业 / 文娱 etc.)
|
||||
|
||||
## 结构
|
||||
|
||||
```
|
||||
姓名 | 电话 | 邮箱 | 城市 | 目标岗位 / 期望方向
|
||||
|
||||
【个人简介 / Career Summary】(2~3 行)
|
||||
关键定位 + 核心能力 + 一个最有说服力的成就
|
||||
|
||||
【工作经历 / 实习经历】(社招倒序;应届实习放教育下方)
|
||||
公司 | 岗位 | 起止时间
|
||||
- 主要职责(一行)
|
||||
- 关键成果 1(量化)
|
||||
- 关键成果 2(量化)
|
||||
- 横向 / 软技能体现(一句)
|
||||
|
||||
【教育背景】
|
||||
学校 | 专业 | 学历 | 时间
|
||||
- GPA / 排名 / 奖学金(≥ 平均水平才写)
|
||||
- 相关课程 / 论文 / 项目(仅写与岗位相关的)
|
||||
|
||||
【技能与证书】
|
||||
- 工具:Excel / Word / PPT 高阶;Notion / Trello;其他行业工具
|
||||
- 语言:英语等级;其他语种
|
||||
- 证书:仅写有公信力的
|
||||
|
||||
【其他亮点】(可选,强力 case 才写)
|
||||
- 创业 / 副业经历
|
||||
- 公开演讲 / 自媒体(粉丝 / 阅读量到一定规模)
|
||||
- 公益 / 志愿者(持续 ≥ 1 年)
|
||||
- 体育 / 艺术成就(省级以上 / 商业认可)
|
||||
```
|
||||
|
||||
## 风格
|
||||
|
||||
- 中性、克制,避免过度行业化术语
|
||||
- 每段经历强调"可迁移技能":沟通 / 推动 / 数据 / 学习速度 / 客户 / 领导力
|
||||
- 跨行业候选人需要在 Summary 里点明"为什么这个方向适合我"
|
||||
|
||||
## 长度
|
||||
|
||||
- 应届 / 实习生:1 页
|
||||
- 1~5 年:1 页(顶多 1.2 页)
|
||||
- 5+ 年:1~2 页
|
||||
|
||||
通用模板的最大风险是**显得"啥都行但啥都不精"**。如果发现写出来就是这种感觉,要主动建议用户:
|
||||
- 选一个最强方向,切到对应的行业模板
|
||||
- 或者准备 2 份版本(互联网版 + 通用版),分场景投
|
||||
Reference in new issue
Block a user