How arupa444/web-scraping-info-of-authors-though-api-to-automate-the-mailing works
Project type and purpose
• This is a full-stack Python toolkit combining:
• A FastAPI web UI (app.py + Jinja2 templates)
• Standalone CLI scripts (scrapName.py, emailFilter.py, automateEmailing.py, etc.)
Purpose: Scrape authors from PubMed, validate email deliverability, and send personalized outreach at scale.
File structure
• Top-level scripts:
• app.py → FastAPI server entrypoint
• scrapName.py → PubMed scraper (NCBI Entrez API)
• emailFilter.py → Email validation pipeline (syntax, MX, SMTP probe)
• automateEmailing.py → Bulk mailing CLI
• for_automate_authentic_email_google_yahoo_office.py → Provider-specific SMTP helper
• universal.py → Shared helper functions (e.g., CSV I/O, templating)
• Directories:
• templates/ → Jinja2 HTML for web UI + example email templates
• fancyMails/, newSampleTemplates/ → Example HTML email templates
• Configuration & examples:
• requirements.txt, .env (uncommitted), try.csv / tryfilter.csv
README insights
• Tech stack: Python 3.8+, FastAPI, Jinja2, uvicorn, requests, dnspython, pydantic
• Workflow stages defined: Discovery → Validation → Delivery
• Two interfaces: Web UI & CLI
• Data format: CSV in/out, HTML templates with {placeholders}