--- name: launch-outreach description: Trigger this skill when the user asks to send emails, launch the campaign, run outreach, or execute phase 5 of the pipeline. It uses the Gmail SMTP script to send drafted emails with human-like delays. --- # Skill: Launch Email Outreach ## Purpose This workflow executes Step 5 of the pipeline. It reads the drafted, campaign-ready emails from `pipeline_output/` and physically sends them using a local Gmail SMTP script. It respects daily sending limits and introduces randomized time delays to mimic human sending behavior and protect domain reputation. ## Prerequisites Verify that `campaign_launch/outreach.py` and `campaign_launch/gmail_smtp.py` exist. Silently verify that there are unsent campaigns in the `pipeline_output/` directory. ## Execution Steps **Step 1: Identify the Active Product** Ask the user: "Which product campaign are we launching outreach for today?" Wait for their reply. **Step 2: Update the Script** Once confirmed, silently edit `campaign_launch/outreach.py` to set the `PRODUCT` variable at the top of the file to match the requested product name. **Step 3: Execute the Sender** Run the script in the terminal: `python campaign_launch/outreach.py` *Constraint:* This script enforces a delay between 30 and 90 seconds per email. If there are many emails in the queue, this will take a long time. DO NOT interrupt it. Let it run in the background until the daily limit is hit or the queue is empty. ## Post-Execution 1. Read the terminal output and inform the user exactly how many emails were successfully sent today and how many failed. 2. Remind the user of the daily sending limit. 3. Suggest that they run the `analyze-feedback` skill in a few days once replies start coming in.