← All agents

Messaging & email · One purpose, multiple implementations

Testing Email Header Analysis Workflow

Adapt the published “Testing Email Header Analysis Workflow” workflow to other implementations while preserving its documented behavior.

The source contains 34 executable nodes and 40 connections. This draft is derived from the n8n export; it needs a human-reviewed purpose, input/output contract, and behavioral tests before a port can claim equivalence.

Open agent files on GitHub ↗

Shared workflow

This initial Mermaid diagram shows observed connections from the n8n source, including model and tool dependencies. Unresolved connections are listed under Evidence. It is a starting point for the shared design; it does not execute the agent or establish correctness.

Rendering the workflow diagram…

Read the Mermaid source
flowchart LR
  n0["Trigger on New Email"]
  n1["Retrieve Headers of Email"]
  n2["Extract Received Headers"]
  n3["Remove Extra Received Headers"]
  n4["Extract Original From IP"]
  n5["Query IP Quality Score API"]
  n6["Query IP API"]
  n7["Authentication-Results Header#63;"]
  n8["Extract Authentication-Results Header"]
  n9["Received-SPF Header#63;"]
  n10["DKIM-Signature Header#63;"]
  n11["Set SPF Value"]
  n12["Extract Received-SPF Header"]
  n13["DKIM Signature Found"]
  n14["DMARC Header#63;"]
  n15["No DMARC Header"]
  n16["Extract DMARC Header"]
  n17["Set DMARC Value"]
  n18["Original IP Found#63;"]
  n19["No DKIM Signature Found"]
  n20["Determine Auth Values"]
  n21["No SPF Found"]
  n22["Merge"]
  n23["Aggregate"]
  n24["No Operation, do nothing"]
  n25["Format Webhook Output"]
  n26["Format Individual Auth Outputs"]
  n27["Format Combined Auth Output"]
  n28["Respond to Webhook"]
  n29["Webhook1"]
  n30["Set Headers"]
  n31["Aggregate Received-SPF Headers"]
  n32["Set Headers Here"]
  n33["Set Webhook Headers Here"]
  n22 -->|"main out 0 to in 0"| n23
  n29 -->|"main out 0 to in 0"| n33
  n23 -->|"main out 0 to in 0"| n26
  n30 -->|"main out 0 to in 0"| n2
  n21 -->|"main out 0 to in 0"| n22
  n6 -->|"main out 0 to in 0"| n7
  n14 -->|"main out 0 to in 0"| n16
  n14 -->|"main out 1 to in 0"| n15
  n11 -->|"main out 0 to in 0"| n22
  n15 -->|"main out 0 to in 2"| n22
  n17 -->|"main out 0 to in 2"| n22
  n32 -->|"main out 0 to in 0"| n30
  n18 -->|"main out 0 to in 0"| n5
  n18 -->|"main out 1 to in 0"| n24
  n13 -->|"main out 0 to in 1"| n22
  n16 -->|"main out 0 to in 0"| n17
  n9 -->|"main out 0 to in 0"| n12
  n9 -->|"main out 1 to in 0"| n21
  n0 -->|"main out 0 to in 0"| n1
  n20 -->|"main out 0 to in 0"| n27
  n25 -->|"main out 0 to in 0"| n28
  n10 -->|"main out 0 to in 0"| n13
  n10 -->|"main out 1 to in 0"| n19
  n19 -->|"main out 0 to in 1"| n22
  n4 -->|"main out 0 to in 0"| n18
  n2 -->|"main out 0 to in 0"| n3
  n24 -->|"main out 0 to in 0"| n7
  n33 -->|"main out 0 to in 0"| n30
  n1 -->|"main out 0 to in 0"| n32
  n5 -->|"main out 0 to in 0"| n6
  n12 -->|"main out 0 to in 0"| n31
  n27 -->|"main out 0 to in 0"| n25
  n3 -->|"main out 0 to in 0"| n4
  n31 -->|"main out 0 to in 0"| n11
  n7 -->|"main out 0 to in 0"| n8
  n7 -->|"main out 1 to in 0"| n9
  n7 -->|"main out 1 to in 0"| n10
  n7 -->|"main out 1 to in 0"| n14
  n26 -->|"main out 0 to in 0"| n25
  n8 -->|"main out 0 to in 0"| n20
Read the specification and unresolved requirements ↗

Implementations

Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.

Plain Python

Planned · no code yet

Read the implementation plan ↗

Pydantic AI

Planned · no code yet

Read the implementation plan ↗

CrewAI Flow

Planned · no code yet

Read the implementation plan ↗

CrewAI Crew

Planned · no code yet

Read the implementation plan ↗

LangGraph

Planned · no code yet

Read the implementation plan ↗

Build or operate with an assistant

Each prompt includes separate build and operating instructions tailored to this agent. They are untested instructions, not working implementations. Check the chosen product’s actual capabilities before using it.

Evidence and remaining work

The bulk collection has publication checks, not live-service testing. Diagrams and prompts are documentation. A port needs reviewed schemas, fixtures, actual execution results, and explicit limits before claiming equivalent behavior.

  • Define input/output schemas and expected outputs.
  • Review source expressions, external actions, and failure behavior.
  • Determine whether model judgment is required or deterministic rules suffice.

Curated by Nik Bear Brown. Preserve each implementation’s original attribution and license. These source templates are separate from the audited Claude directory.