Deploy AI agents that handle shipment tracking, customs clearance notifications, and carrier coordination — with monitored oversight ensuring accuracy across the supply chain.
Logistics companies operate in a world of time-sensitive, high-volume email where every message matters. Shipment tracking updates, customs clearance notifications, delivery confirmations, and carrier coordination emails flow continuously across global supply chains. A delayed or inaccurate customs notification can hold shipments at ports for days, costing thousands in demurrage fees and disrupting downstream supply chains.
The regulatory framework for logistics email spans domestic and international requirements. DOT and FMCSA regulate driver communications and hazardous materials transport. IATA governs dangerous goods shipment documentation for air cargo. International trade requires accurate customs declarations, certificates of origin, and phytosanitary documentation. Each country of destination may have unique import documentation requirements that must be communicated accurately to customs brokers and freight forwarders.
AI agents are a natural fit for logistics communications — they can generate real-time tracking updates, coordinate across multiple carriers, and manage the documentation-heavy workflow of international shipping. Monitored oversight provides the right balance for most logistics communications, enabling the rapid pace that supply chain operations demand while giving operations managers visibility into communication quality and accuracy.
Logistics companies send millions of tracking updates daily — pickup confirmations, in-transit updates, delivery confirmations, and exception notifications. Each must accurately reflect the current shipment status and estimated delivery time.
International shipments require accurate customs documentation including commercial invoices, packing lists, and certificates of origin. Email communications to customs brokers with incorrect values, descriptions, or HS codes cause clearance delays and potential penalties.
Shipments containing dangerous goods require specific documentation per DOT (domestic) and IATA (air) regulations. Communications about hazmat shipments must include proper shipping names, UN numbers, and handling instructions. Errors can create safety hazards and regulatory violations.
Complex shipments may involve multiple carriers across truck, rail, ocean, and air modes. Coordinating handoffs, schedule changes, and exception handling across carriers via email requires precision to prevent cargo from being misrouted or delayed.
High-value and regulated shipments require documented chain of custody. Email communications about cargo transfers, warehouse receipts, and delivery confirmations serve as evidence of custody changes and must be accurate and timestamped.
AI agents generate real-time tracking notifications for pickup, in-transit milestones, and delivery confirmation. Autonomous mode enables immediate delivery of status updates triggered by scanning events without human delay.
AI agents draft customs clearance notifications and documentation requests with gated send oversight. Compliance staff verify HS codes, declared values, and required documentation before communications reach customs brokers.
AI agents manage pickup scheduling, route changes, and exception handling communications across multiple carriers. Monitored mode enables rapid coordination while providing dispatch visibility into all carrier-facing communications.
AI agents compose dangerous goods communication with gated_all oversight. Safety officers verify proper shipping names, UN numbers, and handling instructions before any hazmat-related email is delivered to carriers or receivers.
AI agents detect delivery exceptions and compose customer notifications with alternative delivery options. Monitored mode ensures customers receive prompt exception alerts while operations teams track resolution.
const response = await fetch('https://api.multimail.dev/v1/mailboxes', {
method: 'POST',
headers: {
'Authorization': 'Bearer mm_live_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
address: '[email protected]',
display_name: 'Shipment Tracking',
oversight_mode: 'monitored',
forward_to: '[email protected]'
})
});
const mailbox = await response.json();
console.log(`Logistics mailbox created: ${mailbox.id}`);Set up a dedicated mailbox for customer shipment communications with monitored oversight.
const response = await fetch('https://api.multimail.dev/v1/emails', {
method: 'POST',
headers: {
'Authorization': 'Bearer mm_live_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
from: '[email protected]',
to: '[email protected]',
subject: 'Shipment Update - BOL #SHP-2024-44521 - In Transit',
text: 'Shipment Status Update. BOL: SHP-2024-44521. Status: In Transit. Current Location: Memphis, TN Hub. Last Scan: March 12, 2024 08:45 AM CT. Next Milestone: Arrival at destination hub (Atlanta, GA) - Est. March 13 by 6:00 AM ET. Estimated Delivery: March 13, 2024 by 5:00 PM ET. Pieces: 12/12. Weight: 2,450 lbs. Track online: yourlogistics.com/track/SHP-2024-44521',
tags: ['tracking-update', 'in-transit']
})
});
const email = await response.json();
console.log(`Tracking update sent: ${email.id}`);Compose a tracking status update notification for a shipment milestone event.
"cm">// MCP tool calls for customs email triage
const inbox = await mcp.check_inbox({
mailbox: '[email protected]',
unread: true
});
for (const message of inbox.messages) {
const email = await mcp.read_email({ message_id: message.id });
const tags = ['customs'];
if (email.body.match(/hold|detained|inspection|exam/i)) {
tags.push('customs-hold', 'priority-critical', 'route-broker');
}
if (email.body.match(/cleared|released|approved/i)) {
tags.push('customs-cleared', 'notify-customer');
}
if (email.body.match(/missing document|additional info|clarification/i)) {
tags.push('docs-required', 'priority-high', 'route-compliance');
}
if (email.body.match(/duty|tariff|assessment|classification/i)) {
tags.push('duty-assessment', 'route-finance');
}
await mcp.tag_email({ message_id: message.id, tags });
}Use the MCP server to have an AI agent read and categorize incoming customs-related emails for broker routing.
"cm">// Coordinate carrier handoff for intermodal shipment
const shipment = await getShipmentDetails('SHP-2024-44521');
const nextCarrier = shipment.legs[shipment.current_leg + 1];
"cm">// Notify receiving carrier
await mcp.send_email({
from: '[email protected]',
to: nextCarrier.contact_email,
subject: `Pickup Ready - BOL ${shipment.bol} at ${shipment.current_location}`,
text: `Cargo available for pickup. BOL: ${shipment.bol}. Location: ${shipment.current_location}. Pieces: ${shipment.pieces}. Weight: ${shipment.weight} lbs. Commodity: ${shipment.commodity}. Pickup window: ${nextCarrier.pickup_window}. Delivery destination: ${nextCarrier.destination}. Required delivery: ${nextCarrier.delivery_deadline}. Special instructions: ${nextCarrier.special_instructions}. Contact dispatch at (555) 890-1234.`
});
"cm">// Notify customer of mode change
await mcp.send_email({
from: '[email protected]',
to: shipment.customer_email,
subject: `Shipment Update - ${shipment.bol} - Carrier Handoff`,
text: `Your shipment ${shipment.bol} has completed the ${shipment.current_mode} leg and is transferring to ${nextCarrier.mode} for the next segment. Estimated delivery remains ${shipment.eta}.`
});Coordinate carrier handoffs for multi-modal shipments with automated notification to each carrier.
| Regulation | Requirement | How MultiMail helps |
|---|---|---|
| DOT Hazardous Materials Regulations (49 CFR 171-180) | Communications about hazardous materials shipments must include proper shipping names, UN identification numbers, hazard classes, and emergency response information. Shipping papers must be accurate and accessible throughout transport. | Gated_all oversight for hazmat communications ensures safety officers verify proper shipping names, UN numbers, and handling instructions before any email is delivered. Audit logs document that hazmat communications met DOT requirements. |
| US Customs and Border Protection (19 CFR) | Import documentation including commercial invoices, packing lists, and entry summaries must accurately declare merchandise descriptions, values, and country of origin. Inaccurate declarations can result in penalties, seizure, and debarment. | Gated send oversight for customs communications ensures compliance staff review declared values, HS codes, and documentation requirements before emails reach customs brokers. Audit logs document the review chain for customs audit purposes. |
| FMCSA Hours of Service (49 CFR 395) | Motor carriers must ensure drivers comply with hours-of-service regulations. Communications about scheduling and dispatch must account for driver availability and mandatory rest periods. | AI agents can incorporate HOS data when drafting dispatch communications, flagging schedule requests that may conflict with driver rest requirements. Monitored oversight provides dispatch managers visibility into all driver-facing communications. |
Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a 38-tool MCP server. Formally verified in Lean 4.