Skip to content

songquanpeng/mail-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Mail Query

Some Commands

pip install -r requirements.txt uvicorn server:app --reload --port

TODO List

  • Generate eml file with attachments for testing. (QQ mail website can export mail to eml.)
  • Use Python to extract information from email.
  • Use Python to extract information from emails' attachments.
    • txt
    • docx
    • pdf
    • pptx
    • xlsx
  • Keyword query.
  • Use PyQt to create a GUI.
  • Package into an exe file.
  • Use multi-threaded / multi-process acceleration.
    • Separate the UI & query part first.
    • Use multi-processes accelerate the query.
  • Make full use of the given memory to speed up the query.
  • Use FastAPI to create a http server.
  • Use React to create a web application.

Build

pip install pyinstaller
pyinstaller -F -w main.py

And add this in the generated main.spec:

import sys
sys.setrecursionlimit(5000)

Then run:

pyinstaller main.spec