Zichao Lin earthjasonlin
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-14 14:54:59 +08:00
54c4bf00fb refactor: replace all in-memory state with SQLite database
c3132f746a feat: AI generates plain_text field, view full text shows readable version instead of HTML
dd7fc61fd4 fix: remove all body truncation, show full email text everywhere
Compare 3 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-13 08:42:05 +08:00
5113d78662 prompt: detailed instructions for extracting unsubscribe links from promotional emails
8b885f1c4c fix: use threading.Event for immediate shutdown instead of sleep loops
8b577b4c12 prompt: emphasize extracting unsubscribe links from promotional emails
26468aa43d fix: use ellipsis character instead of dots in status messages for MarkdownV2 compatibility
98147e6a6c fix: omit parse_mode from payload when None instead of sending null
Compare 12 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-13 07:58:14 +08:00
8c088ddff5 debug: add skip_uids logging to diagnose re-fetch issue
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-13 07:49:40 +08:00
0ec2048bc5 fix: never discard from _processing_uids to prevent re-fetching
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-13 07:36:03 +08:00
155a6dfc53 fix: skip already-processing UIDs at FETCH level to avoid downloading email content
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-13 07:20:25 +08:00
d31ec18ea3 fix: restore -FLAGS Seen after FETCH, protected by _processing_uids
02cf4b88b6 fix: add _processing_uids to prevent re-fetching emails being processed
Compare 2 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-13 06:58:30 +08:00
ae140df3fb chore: remove accidental file
e9398526e6 fix: login without selecting INBOX first so conn.list() returns all folders
Compare 2 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-13 06:49:08 +08:00
479b855390 feat: scan all IMAP folders for unread emails, not just INBOX
46bc7c7057 prompt: force simplified Chinese for all AI outputs except reply suggestions
bbc43f8972 fix: keep pending_uids until TG send completes to prevent duplicate processing
Compare 3 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-12 10:16:03 +08:00
87e4b0b01e prompt: refine link extraction to exclude promotional links
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 22:55:39 +08:00
fc4c5a175c feat: show thinking indicator during AI processing, accept non-numeric verification codes
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 22:46:00 +08:00
1c7d0c1b00 fix: mark emails back as UNSEEN after FETCH to counter server auto-read
5320b10317 fix: per-email error handling with connection rebuild, remove @retry on fetch
Compare 2 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 22:38:57 +08:00
d8807ffbb5 fix: remove body truncation for large emails
8d40ed8b19 fix: use BODY.PEEK for large emails to prevent server auto-marking as read on timeout
Compare 2 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 22:33:04 +08:00
57191ab00e feat: remove body truncation for all AI requests, increase API timeout to 120s
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 22:18:22 +08:00
13b76c00ab feat: add tell me more button for promotion emails with AI-generated details
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 22:11:25 +08:00
cf0f7d3956 style: restructure email formats with 收件账户 and app_name for verification
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 22:06:04 +08:00
e56bdef0f7 fix: use single backtick for tap-to-copy, remove copy_text button
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 21:57:46 +08:00
6d1fe29df4 fix: copy_text field must be an object with text key
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 21:52:17 +08:00
05b15d9ee3 fix: use copy_text field instead of duplicate text key
03c18cdb76 fix: copy button shows only the code number
Compare 2 commits »
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 21:48:02 +08:00
b835812f38 feat: add copy_text button for verification codes
earthjasonlin pushed to main at earthjasonlin/ai-mail-bot 2026-07-11 21:44:35 +08:00
070c32071a style: beautify email formats with type labels and consistent layout