Architecture
Ephemeral Sentinel integrates with infrastructure you already have. No changes to mail flow. No inbound ports. No new risk.
This page is for evaluators who want to understand exactly how Sentinel works before committing. If you want to see the output first, start with the example report.
System Architecture
The diagram below shows the complete flow from a user reporting a suspicious email to the structured analysis being returned.
Workflow
Every phishing report follows the same path — from the employee's inbox to a structured analysis returned automatically.
.eml file.
phishing@yourdomain.com.
This is a standard mailbox that already exists in most environments using
a phishing report button. No new mailbox infrastructure required.
.eml is parsed and loaded into memory.
The deterministic analysis engine evaluates: email headers and routing path,
SPF / DKIM / DMARC authentication results, sender domain characteristics,
phishing language indicators, embedded URLs, and attachment file types.
All analysis is local — no content leaves the environment.
Design Principles
Ephemeral Sentinel was designed to be a low-risk addition to any environment. These principles guided every architectural choice.
Technical Details
Sentinel is designed to be lightweight and easy to understand. No complex dependencies. No black boxes.
| Component | Details |
|---|---|
| Deployment | Runs on any machine with internet access — home server, VPS, or cloud VM. Docker available. |
| Mailbox Connectivity | Microsoft 365 Graph API, Gmail API, or IMAP (port 993 / TLS). All outbound-only. |
| Inbound Ports | None required. |
| Analysis Engine | Deterministic rule-based. No ML model. No AI API. |
| Email Retention | None. Email content processed in memory and discarded. |
| Persistence | SQLite / PostgreSQL — report metadata and hashed IOC records only. No email content. |
| IOC Store | Per-tenant HMAC-SHA256 hashed indicators. 90-day retention. Raw values never stored. |
| Licensing | Offline Ed25519 signed license. Validated at startup — no runtime cloud check. |
| External Calls | None. All analysis is local. |
| Report Delivery | Email reply to reporting user. Optional CC to security team address. |
| Analysis Coverage | Headers, SPF/DKIM/DMARC, domain signals, language patterns, URLs, attachments, IOC extraction. |
| Risk Output | Benign / Suspicious / Malicious — with weighted signal scoring and Recommended Blocks. |
Analysis Engine
Nine analysis modules run against every reported email. Each contributes to the final risk score and report.
Email Provider Integrations
Sentinel supports three mailbox integration modes. Choose the one that matches each client environment — or configure different modes per client.
| Integration | Best For | Authentication | Notes |
|---|---|---|---|
| IMAP | Self-hosted mail, legacy environments | Username / App password | Universal — works with any IMAP-capable mail server |
| Microsoft 365 Graph API | M365 / Exchange Online tenants | OAuth 2.0 (client credentials) | No legacy auth required. Recommended for modern M365 deployments. |
| Gmail API | Google Workspace tenants | OAuth 2.0 / Service Account | Native Google Workspace integration. No IMAP app passwords needed. |
Next Steps
Choose a plan and connect your reporting mailbox. No mail flow changes. No complex configuration. See the output for yourself.
Questions about deployment, integration, or fit for your environment? Get in touch.
Get in Touch