Agent Office Work: Dedicated Email Addresses & Signed Webhooks Without Sharing Passwords
Teams want AI to sort incoming vendor quotes, invoices, and web-form leads—without sharing corporate Gmail logins or letting stray emails trigger unapproved actions. Dedicated Agent Endpoints isolate external mail and webhooks behind strict authentication and human review.

Executive Summary (Key Takeaways)
- Each specialist role exposes its own email (e.g. billing.acme@cadencecloud.app) and webhook URL (hooks.cadencecloud.app/e/:id) while keeping corporate mailboxes intact via forwarding.
- Inbound mail enforces exact sender/domain allowlists, RFC 3834 loop suppression, and automatic body withholding whenever DKIM or DMARC fails—blocking common supplier-spoofing attacks.
- Admitted emails and webhooks run inside a bound Event Routine or isolated endpoint-inbox session under external_untrusted confinement, staging real changes into PendingActions rather than acting inside your Home chat.
- 01Route via forwarding or signed POST
Auto-forward RFQ/invoice mail from existing Google Workspace or Microsoft 365 rules, or send Bearer / HMAC-SHA256 webhooks from forms and stores.
- 02Verify at the edge & store R2 custody
Screen allowlists, DKIM/DMARC verdicts, or +-300s HMAC signatures, persist raw records in workspace R2, and dispatch into external_untrusted confinement.
- 03Pause buffer or click Approve
Owners can pause an endpoint (queueing 50–500 held events safely) and review staged drafts with full provenance in PendingActions before delivery.
Keep your @company.com domain: 3 practical office desks via Agent Endpoints
You do not need to migrate MX records or replace staff mailboxes. Set up selective forwarding rules from your existing inbox—or point your site forms and store events at dedicated webhook URLs—to establish clear specialist desks:
- rfq.acme@cadencecloud.app → @ops (Supplier & quote desk)Captures inbound RFQs up to 5 MB with R2 archival and attachment metadata, letting @ops match line items against your maintained price sheet and prepare a draft revision.
- billing.acme@cadencecloud.app → @bookkeeper (Invoice desk)Restricts intake to allowlisted accounting and vendor domains. Any message failing DKIM or DMARC has its body automatically withheld so spoofed bank-change notices never drive drafts.
- hooks.cadencecloud.app/e/:id → @support (Storefront & CRM events)Accepts structured JSON payloads up to 256 KB (60 req/min default, configurable up to 600), validates Bearer or HMAC-SHA256 signatures, returns 202 Accepted, and wakes the bound Event Routine.
Why raw inbox forwarding breaks down—and how confinement fixes it
Wiring a shared Gmail login straight into an autonomous chat bot mixes untrusted stranger text with owner privileges. Agent Endpoints enforce structural boundaries between external ingress and workspace control:
| Control Layer | Ad-hoc Inbox / Webhook Glue | AgenticOS Agent Endpoints |
|---|---|---|
| Execution isolation | Often shares admin session tokens or full workspace tools | Dispatches into Event Routine or isolated endpoint-inbox:<id> locked under external_untrusted confinement (settings, Code Mode & unapproved tools refused) |
| Spoof & loop defence | Basic sender-header filters; vulnerable to forged display names | Exact sender/domain allowlists, RFC 3834 loop drop, plus automatic body withholding on dkim=fail or dmarc=fail |
| Webhook auth & rotation | Static URL secrets or manual downtime during key rotation | Mandatory Bearer or HMAC-SHA256 (+-300s timestamp window), server-minted one-time secrets, and 15-minute overlap on rotate-secret |
| Pause & burst resilience | Paused scripts drop payloads or return 5xx errors upstream | Per-endpoint pause buffer holds bounded deliveries (50 default, up to 500 max) without dropping verified events |
| Human sign-off | Scripts fire replies or CRM mutations immediately | Business side effects stage inside PendingActions until a named reviewer clicks Approve |
For engineering teams: HMAC-SHA256 signing & zero-downtime rotation
Every endpoint starts disabled and unverified until explicitly enabled by a human workspace owner (non-owners and cross-origin callers are refused). Webhook secrets (`whk_...` / `whsec_...`) are returned once at creation or rotation and never re-exposed in read views.
Using hmac_sha256 verifies UTF-8 `<timestamp>.<rawBody>` within a 300-second window, while `Idempotency-Key` or `X-Event-Id` prevents duplicate runs during upstream webhook retries.
import crypto from "node:crypto";
const ts = Math.floor(Date.now() / 1000).toString();
const payload = JSON.stringify({ event: "quote.requested", client: "Wing On Trading" });
const sig = crypto
.createHmac("sha256", process.env.AGENT_WEBHOOK_SECRET)
.update(`${ts}.${payload}`, "utf8")
.digest("hex");
await fetch("https://hooks.cadencecloud.app/e/<endpointId>", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Timestamp": ts, // enforced within +-300s replay window
"X-Signature-256": `sha256=${sig}`,
"Idempotency-Key": "evt_20261130_001",
},
body: payload,
});Inbound emails cap at 5 MB per message (with bounded 16,000-byte body reads; attachments are preserved in workspace R2 and listed by filename and byte size). Webhook payloads cap at 256 KB per POST for structured JSON event triggers rather than binary uploads.
Common questions from Hong Kong operators
Do we have to change our company domain or stop using @company.com?
No. Keep your existing Microsoft 365 or Google Workspace mailboxes and create forwarding rules for specific quote or billing threads into your dedicated address (such as billing.acme@cadencecloud.app).
What stops an external email containing prompt injection from hijacking tools or sending replies?
Three gates apply together: exact sender/domain allowlists screen senders, dkim=fail or dmarc=fail messages withhold body text automatically, and admitted events run inside external_untrusted confinement where settings, Code Mode, and direct sends are blocked unless staged in PendingActions for human approval.
What are the size and rate limits for emails and webhooks?
Emails are capped at 5 MB (attachments stored in R2 and listed by metadata; body text read bounded to 16,000 bytes). Webhooks accept up to 256 KB JSON bodies at 60 req/min default (configurable up to 600 req/min) and return 202 Accepted immediately after durable custody.
Can we test workspace workflows free before upgrading to a paid plan?
Yes. Eligible workspaces start with a 14-day cardless trial (up to 1M tokens, no automatic charge) for workflow design, knowledge structuring, and internal drafting; external sending and payment execution remain locked during trial until upgraded.
Design your first confined office inbox or webhook flow
Start a 14-day cardless workspace trial (up to 1M tokens) to explore role-based workflows, or message us on WhatsApp with one real email or form triage flow to map out.
Every external quote, delivery commitment, and client message retains a mandatory human approval gate; we never deploy unattended external auto-send.