Block 1 - Email Trigger (IMAP)
- Type / Role
- n8n-nodes-base.emailReadImap - emailReadImap
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
Who is it for If you are a postmaster or you manage email server, you can set up DKIM and SPF records to ensure that spoofing your email address is hard. On your domain you can also set up DMARC re...
n8n-nodes-base.emailreadimap, n8n-nodes-base.datetime, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.mysql, n8n-nodes-base.renamekeys, n8n-nodes-base.stickynote, n8n-nodes-base.compression
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Łukasz.
Original n8n.io sourceIf you are a postmaster or you manage email server, you can set up DKIM and SPF records to ensure that spoofing your email address is hard. On your domain you can also set up DMARC record to receive XML reports from email providers (rua tag). Those reports contain data if email they received passed DKIM and SPF verifications.
Since DMARC email is public, you will receive a lot of emails from email providers, not only if DKIM/SPF fail. There is no need for it - you probably only need to know if SPF/DKIM failed.
So this script is intended to automatically parse all DMARC reports that come from email providers, but ONLY send you notification if SPF or DKIM failed - meaning that either someone tries to spoof your email or your DKIM/SPF is improperly set up.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Parse DMARC reports, save them in database and notify on DKIM or SPF error |
|---|---|
| Complexity | advanced |
| Nodes | 20 |
| Categories | SecOps |
| Author | Łukasz |
| Published | 29 Jul 2024 |
Use the JSON export at /data/workflows/2369/2369.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Who is it for If you are a postmaster or you manage email server, you can set up DKIM and SPF records to ensure that spoofing your email address is hard. On your domain you can also set up DMARC re...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your SecOps use case.