I need a lightweight, headless Selenium routine that logs into my Gmail account and fires off a batch of outgoing messages without any manual clicks. The goal is simple: given a list of recipient addresses and pre-written subject/body pairs, the script should open Gmail, compose, and send each email in turn as if a real user were behind the keyboard. Key points • Gmail is the only provider involved, so the workflow can lean on its specific DOM structure and shortcuts. • I will supply the credentials and the list of recipients in a plain text or CSV file—the script just needs to read that file at runtime. • Randomised pauses between actions (and ideally slight typing delays) are important to mimic human behaviour and stay clear of Gmail’s anti-bot triggers. • All configuration values (driver path, pause ranges, attachment folder, etc.) should live at the top of the script for quick tweaks. Deliverable A single, well-commented Python file plus a brief README that explains setup, required libraries (selenium, undetected-chromedriver or similar), and how to run it on Windows or Linux. Success is confirmed when I can supply a fresh list of addresses, hit run, and watch the emails land in the recipients’ inboxes without Gmail throwing a warning.