agent-mail
List Messages
Poll the Agent Mail inbox for new unprocessed inbound support emails.
The scenario uses specific integration tools at each step, while Metorial keeps access scoped and visible.
Check the Agent Mail inbox for new messages that have not yet been labeled as processed.
Retrieve the full email body, sender, subject, and any attachments for parsing and classification.
Search HubSpot for an existing contact matching the sender's email address to link the ticket to the right record.
Open a new ticket with the email subject as the title, body as content, and assign a priority based on keywords or sender tier.
Link the new ticket to the matching HubSpot contact and their parent company for full CRM context.
Reply to the customer's email with the ticket ID and expected response time.
Apply a processed label to the email so it is not picked up again in the next poll cycle.
agent-mail
Poll the Agent Mail inbox for new unprocessed inbound support emails.
agent-mail
Retrieve the full email content including extracted text for parsing.
hubspot
Look up the sender's email to find an existing HubSpot contact record.
hubspot
Create a new HubSpot support ticket with the email subject, content, and priority.
hubspot
Associate the new ticket with the existing contact and company records.
agent-mail
Send an automated acknowledgment reply to the customer with the ticket reference number.
Integration
Create and manage email inboxes for AI agents to send, receive, and reply to emails programmatically. Organize conversations with threads, labels, and drafts. Search emails semantically across inboxes. Extract structured data from unstructured emails and auto-categorize messages with custom prompts. Manage custom domains, contact/mailing lists, and multi-tenant pods. Subscribe to webhook and WebSocket events for message delivery, bounces, complaints, and domain verification. Supports IMAP and SMTP access alongside the REST API.
Integration
Create, read, update, and delete CRM objects including contacts, companies, deals, tickets, and custom objects. Manage associations between CRM records. Track engagements such as calls, emails, meetings, notes, and tasks. Send transactional and marketing emails, manage campaigns, and handle subscription preferences. Build and manage marketing workflows, sequences, and automation actions. Manage CMS content including blog posts, landing pages, and HubDB tables. Handle commerce data including products, orders, invoices, quotes, and payments. Create and manage contact lists for segmentation. Configure deal, ticket, and order pipelines with custom stages. Search and filter CRM records. Bulk import and export CRM data. Manage users, teams, and account settings. Subscribe to webhooks for real-time notifications on object creation, deletion, property changes, merges, and association changes.
Outcome 1
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Outcome 2
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Outcome 3
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Outcome 4
Metorial keeps the workflow connected, governed, and traceable across the systems involved.
Metorial is the governed connection layer between your AI agents and the tools your company runs on. It turns workflows like automate hubspot ticket creation from agent mail inbound emails into something you can deploy quickly, safely, and at scale.
Fast
Connect 1000+ verified integrations through one Magic MCP URL instead of building and maintaining bespoke connectors for each system in this workflow.
Secure
Protoguard inspects every message and tool call for prompt injection and policy violations before an agent touches your systems.
Enterprise
Agents act on real identity under company SSO, with per-user and per-group access policies and a complete, searchable record of everything that happens.
Team ready
Package this workflow as a skill, attach the tools it needs, and let teammates run it through Portals — governed by admins, owned by the people who do the work.
The Metorial products that connect, govern, and observe this scenario.
Connectivity
Start from 1000+ verified integrations or bring your own, and give every one a governed path to your agents under existing SSO and access policies.
Connectivity
A single URL your AI client connects to. Sign in with the login you already use and your agent reaches every integration and tool you allow — no per-app setup.
Identity
Sign in with company SSO, set policies per user and group, and let agents act on real identity across every connected system in this workflow.
Governance
Metorial’s security layer reviews every message and tool request before an agent acts — catching prompt injection and blocking anything outside your policies.
Observability
A complete, searchable record of everything your agents, team, and machines do across these integrations, so you can trust the workflow in production.
Governance
Let teammates connect agents to the integrations and skills your company already uses, with admins deciding who gets access to what.
However you adopt AI, Metorial has a path for connecting it safely.
Solution
Give the agents behind this scenario governed access to every tool and integration they need, with one connection layer instead of bespoke glue code.
Solution
SSO, granular access control, security review, and full audit trails so this workflow meets enterprise governance and compliance requirements.
Solution
Let the people who do this work connect their own AI agents to approved integrations and reusable skills — safely, without waiting on engineering.