How to Audit Email Links Before Forwarding with Copilot
Audit Email Links Before Forwarding with Copilot and ToolRouter. Check email links programmatically and integrate verdicts into email processing workflows.
ToolPhishing Email CheckerUse Copilot with Phishing Email Checker to add link auditing to an email processing or forwarding workflow in your codebase. Copilot is best when the link check output feeds a forwarding gate, a sanitization step, or an email routing rule that removes flagged links before delivery.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Phishing Email Checker tool:
- Extract the email content from your processing pipeline.
- Ask Copilot to run `check_email` via `phishing-email-checker` on the email's embedded links.
- Have Copilot return JSON with links (array of {url, verdict, reason}) and overall_verdict.
- Use `overall_verdict: clean` to forward and `overall_verdict: flagged` to trigger a hold or sanitization step.
Example Prompt
Try this with Copilot using the Phishing Email Checker tool
Use phishing-email-checker to check the links in this email: [paste email]. Return JSON with: overall_verdict, links (array of {url, verdict, reason}), and recommended_action. I'll use overall_verdict to gate the forwarding step in our email pipeline.
Tips
- Use `overall_verdict` as a boolean gate so your forwarding logic stays simple.
- Return each link's individual verdict in an array so your sanitizer can remove specific flagged URLs without dropping the whole email.
- Log every link check result even for clean emails so you have an audit trail if a link reputation changes later.