Automated Phishing Email Analysis and Containment for Forwarded Messages

Automated Phishing Email Analysis and Containment for Forwarded Messages

Automated Phishing Email Analysis and Containment for Forwarded Messages

This automation analyzes forwarded emails for phishing indicators by checking the sender IP, qualifying URLs, and attachments against reputation data. When malicious activity is identified, it moves the message to trash and sends the security team a contextual Slack alert with investigation details.

Phishing

Security Monitoring

Incident Response

Notification

Trigger

A forwarded email received by the flow's emailhook, including its headers, body text, recipient, message ID, and any attachments.

Outcome

The flow produces reputation findings and, for malicious results, moves the email to trash and sends a contextual alert to the security team in Slack.

Trigger

A forwarded email received by the flow's emailhook, including its headers, body text, recipient, message ID, and any attachments.

Outcome

The flow produces reputation findings and, for malicious results, moves the email to trash and sends a contextual alert to the security team in Slack.

Before

Security staff likely had to open forwarded emails, inspect headers and message content, extract sender IPs and links, and submit those indicators for reputation checks. They also had to review attachment results, locate the original mailbox message, move malicious mail to trash, and compose a notification with the relevant evidence.

How it works

  1. A forwarded email triggers the workflow, which identifies the corresponding mailbox message and extracts the sender IP, body URLs, and attachments.
  2. The workflow checks the sender IP, qualifying URLs, and attachment reports, applying reputation-based conditions to determine whether any indicator is malicious.
  3. When a malicious condition is met, the target message is moved to trash and the security team receives a contextual Slack alert; otherwise, the available findings are recorded as clear or non-malicious results.

Workflow details

  • Email intake and message identification: The workflow starts when an email is forwarded to the flow emailhook. It extracts the recipient, sender, message ID, message date, message text, received-SPF information, URLs, and attachments, then uses mailbox access to locate and verify the corresponding message.
  • Sender IP investigation: The flow extracts the sending IP address from the email headers and determines whether it is IPv4 or IPv6. It submits the address to reputation services and evaluates the returned abuse or malicious indicators to determine whether the sender infrastructure should be treated as suspicious.
  • URL investigation: URLs are extracted from the email body and evaluated individually, while Google Docs links are excluded by a workflow condition. Each remaining URL is submitted for analysis, the workflow waits for the result, retrieves the report, and records whether malicious detections were returned.
  • Attachment investigation: When attachments are present, the workflow reviews each attachment using its checksum and records the available analysis result. Attachment findings are combined with the other investigation results to determine whether the message requires containment and escalation.
  • Containment and notification: When a malicious IP, URL, or attachment condition is met, the matching mailbox message is moved to trash and the security team receives a contextual Slack notification containing details such as the recipient, sender, message ID, date, sender IP, and analysis results.

What changed

Email analysis now starts automatically when a message is forwarded and the IP, URL, and attachment checks run through defined branches without manual tool changes or copying of indicators. Suspicious messages are automatically moved to trash and the security team receives the investigation context in Slack, with no human approval step shown in the workflow.

Work removed

Opening forwarded emails one by one, extracting sender IPs and URLs, submitting indicators for reputation checks, reviewing attachment reports, matching the forwarded message to the mailbox copy, moving malicious messages to trash, and manually composing security notifications.

Expected outcome

Consistent per-message phishing screening with automated containment and contextual security escalation for emails that meet the configured malicious conditions.

Less busywork. More possibility.

Let your agents handle the routine. Make room for what comes next.

Automation intelligence, delivered monthly.

Product releases, automation playbooks, and security research โ€” straight to your inbox. No spam, unsubscribe anytime.

ยฉ 2026 Mindflow โ€” All rights reserved.

SOC 2 Type II
ISO 27001
GDPR
France 2030
Bpifrance
รŽle-de-France

Less busywork. More possibility.

Let your agents handle the routine. Make room for what comes next.

Automation intelligence, delivered monthly.

Product releases, automation playbooks, and security research โ€” straight to your inbox. No spam, unsubscribe anytime.

ยฉ 2026 Mindflow โ€” All rights reserved.

SOC 2 Type II
ISO 27001
GDPR
France 2030
Bpifrance
รŽle-de-France

Less busywork. More possibility.

Let your agents handle the routine. Make room for what comes next.

Automation intelligence, delivered monthly.

Product releases, automation playbooks, and security research โ€” straight to your inbox. No spam, unsubscribe anytime.

ยฉ 2026 Mindflow โ€” All rights reserved.

SOC 2 Type II
ISO 27001
GDPR
France 2030
Bpifrance
รŽle-de-France
To embed a website or widget, add it to the properties panel.