Gmail and Outlook phishing inspection with visual proof to Jira
This n8n workflow monitors Gmail and Microsoft Outlook triggers, pulls Outlook headers via Microsoft Graph and renders email HTML into a screenshot image. ChatGPT image analysis inspects visual spoofing clues alongside raw headers. Findings write directly into a Jira task with the screenshot attached.
- Catalogue ID
- #0670
- Functional nodes
- 13
- Connections
- 12
- Trigger
- gmailTrigger, microsoftOutlookTrigger
- AI layer
- AI-assisted
Business problem solved
Security analysts reviewing suspected phishing emails across Gmail and Microsoft Outlook waste minutes inspecting raw HTML and fetching headers by hand. Missing visual screenshots inside Jira tickets slows escalation and peer verification.
Trigger
Dedicated Gmail and Microsoft Outlook triggers launch the inspection pipeline whenever a message enters the monitored mailbox.
Connected systems
- Gmail
- Microsoft Outlook
- Microsoft Graph API
- HTML screenshot HTTP API
- OpenAI image analysis
- Jira
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. Gmail Trigger (Trigger) (connects to Set Gmail Variables)
- 2. Microsoft Outlook Trigger (Trigger) (connects to Retrieve Headers of Email)
- 3. Screenshot HTML (Service and data) (connects to Retrieve Screenshot)
- 4. Retrieve Screenshot (Service and data) (connects to ChatGPT Analysis)
- 5. Set Outlook Variables (Service and data) (connects to Set Email Variables)
- 6. Set Gmail Variables (Service and data) (connects to Set Email Variables)
- 7. Retrieve Headers of Email (Service and data) (connects to Format Headers)
- 8. Format Headers (Logic and routing) (connects to Set Outlook Variables)
- 9. Set Email Variables (Service and data) (connects to Screenshot HTML)
- 10. ChatGPT Analysis (AI layer) (connects to Create Jira Ticket)
- 11. Create Jira Ticket (Service and data) (connects to Rename Screenshot)
- 12. Rename Screenshot (Logic and routing) (connects to Upload Screenshot of Email…)
- 13. Upload Screenshot of Email… (Service and data)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
Dual mailbox and header extraction
Gmail and Outlook variables normalise into one schema while Microsoft Graph pulls detailed internet message headers.
- 02
Safe HTML screenshot rendering
Email HTML posts to an external screenshot endpoint so analysts inspect visual layout without opening live links.
- 03
ChatGPT visual and header inspection
OpenAI analyses the rendered image together with header metadata and formats phishing findings for Jira wiki rendering.
- 04
Jira ticket and attachment upload
A Jira task opens automatically and the renamed screenshot uploads directly to the ticket as visual evidence.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 13 functional nodes and 12 connections.
Production layer added by ALTAI
During live deployment, ALTAI adds fallback error queues for screenshot timeouts, PII redaction rules before external rendering and security sign-off gates.
Gmail and Outlook phishing analysis to Jira Frequently asked questions
Visual rendering lets ChatGPT and security reviewers spot fake brand layouts and hidden buttons without clicking dangerous links.
Yes. Entry variable nodes normalise payloads from the two providers before header parsing and image inspection.
No. It only documents headers, visual proof and risk notes inside Jira while remediation decisions stay with your security team.
Related n8n workflows
Outlook and Gmail visual Jira ticket flow
Standardises Outlook and Gmail messages, fetches Graph headers, renders HTML screenshots, runs ChatGPT assessment and logs Jira tasks with attachments.
Sublime Security email rule analysis workflow
Checks IMAP emails for attachments, submits binary files to Sublime Security for deterministic rule inspection and sends structured alerts to Slack.
NocoDB Kanban AI ticket prioritisation workflow
Classifies form incidents with OpenAI against NocoDB rules, creates Kanban records and runs daily checks for unpicked or overdue tasks via Slack and email.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms