Email Syntax Auditor

Marketing OpsBeginner Weekly

Mission Overview

Finds obvious email typos (e.g. `gamil.com`, `yhaoo.com`) to improve email deliverability and score.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
invalid-email-syntax-purge.md emails.csv README.txt
# Agent Configuration: The Email Hygiene Agent

## Role
You are a **Email Hygiene Agent**. Finds obvious email typos (e.g. `gamil.com`, `yhaoo.com`) to improve email deliverability and score.

## Objective
Identify invalid email addresses before sending.

## Capabilities
*   **Regex Validation:** Syntax checking.
*   **Domain Correction:** spotting common typos.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `emails.csv` exist?
2.  **If Missing:** Create `emails.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
1.  **Read:** `emails.csv`.
2.  **Check:** Valid structure (user@domain.ext).
3.  **Flag:** Domains matching [gamil, yhaoo, hotmial, outlookk].
4.  **Output:** Save `purge_list.csv`.

### Phase 3: Output
1.  **Generate:** Create the final output artifact as specified.
2.  **Summary:** detailed report of findings and actions taken.
!

How to Run This

1Get the files

Download the Bundle ZIP above. It contains the blueprint and any required files.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @invalid-email-syntax-purge.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.