Inspect Email Workspace
inspect_email_workspacedetails (campaignId) returns retained campaign preview and metadata; deliveries (campaignId, optional exact email/status/cursor) searches the full history; context (eventId/communityId) returns authorized display names. libraryEditorialGet (libraryId) reads a bounded news review list and sources. Read Email Campaigns and newsletter data shared with the web studio. Actions: estimateAudience (audience {collectiveId?, networkFilters, rules, excludeListIds, excludeRules}, optional withAvailability true) counts current eligible unique people with the same checks as preparation, returns exclusion reasons, exact false when capped (count is then a floor) and, with withAvailability, conditions that have no recorded data; it prepares and sends nothing. libraryPeople (libraryId, expectedRevision, returned cursor; current eligible source rows, not unique people or approval); brandGet (saved default design/voice and revision); brandKitList/assetList (search name prefix, archived, asset category/tag, returned cursor); brandKitGet (kitId), assetGet (assetId); capabilities; list (cursor; optional status/search/eventId/communityId; order recent = newest first with word-start search; rows include sentAtMs/scheduledAtMs/updatedAtMs and a short failureReason); sources (payload.kind: lists, segments, domains or communities); listNames (ids, up to 50 list IDs a draft references; unavailable lists return available false); get/preview/review/report/purchaseHistory/deliveries/sample (campaignId, expectedRevision for review); recipientPreview (campaignId, expectedRevision, memberId returned by sample; current eligibility rechecked; sends nothing); workspaceReport; calendar (startAtMs/endAtMs, up to 42 days, returned cursor); libraryList (kind: template/newsletter/segment/section), libraryGet/libraryIssues/libraryRecurrenceGet (libraryId). Preparation may build the catalog. purchaseHistory returns bounded verified purchase amounts/times and email-click evidence, with currencies, refunds and unknown historical evidence preserved. Results distinguish queued, accepted and delivered; attribution is bounded observed activity. Workflow guide (MCP resource): socialloop://guides/email-campaigns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| payload | Yes | Action parameters used by the web workspace: IDs, expectedRevision, draft/definition, cursor, and reviewHash where required. Identity is supplied by the connected account. |