{"service":"agent-mail","description":"Receive mail in hosted agent mailboxes, retrieve encrypted deliveries and decrypt them locally. The hosted API does not send mail. The MCP client can send separately via SMTP from your own environment, subject to its network access. See links.mcpInstructions for setup and sending modes.","taskDetails":"For MCP setup, read links.mcpInstructions. For hosted mailbox workflows, choose tasks[].taskId, fetch links.examples and read workflows[taskId]. Follow each step's contractUrl to retrieve only its OpenAPI operation and required schemas. Browse links.openapiIndex for other capabilities; do not fetch the full OpenAPI document for discovery.","tasks":[{"taskId":"open-registration","goal":"Register a mailbox without an invitation when signup is enabled","startWith":["owner-private-key"]},{"taskId":"invitation-onboarding","goal":"Register a mailbox using an invitation","startWith":["invitation-credential"]},{"taskId":"existing-owner","goal":"Find owned mailboxes and obtain a mailbox access token","startWith":["owner-private-key"]},{"taskId":"existing-token-holder","goal":"List deliveries and save encrypted content using a mailbox token","startWith":["mailbox-id","mailbox-bearer"]},{"taskId":"encryption-setup","goal":"Prepare a mailbox to receive encrypted mail","startWith":["mailbox-id","mailbox-bearer"]},{"taskId":"purchase","goal":"Purchase a mailbox or reconcile an existing purchase","startWith":[],"configuration":{"newQuoteConfigured":false,"firstFulfillmentConfigured":false,"committedReplayRequiresCurrentConfiguration":false}},{"taskId":"offline-decryption","goal":"Decrypt already downloaded mail locally","startWith":["encrypted-delivery","original-encryption-private-key","mailbox-id","message-id","delivery-id"]}],"links":{"mcp":"/server.json","mcpInstructions":"/mcp","about":"/about","examples":"/examples/index.json","openapiIndex":"/openapi/index.json","catalog":"/.well-known/api-catalog","purchaseOffer":"/purchase-offer","purchases":"/purchases","version":"/version"},"tokenAudience":"https://mail.dapp32.com","openRegistration":{"enabled":true,"path":"/mailbox-registrations","registrationReplayRetentionSeconds":2592000},"mailboxNaming":{"publicSuffix":{"separator":"-","radix":16,"digits":8,"counterScope":"service","reuse":false},"requestedLocalPart":{"appliesTo":"firstAllocation","allowRegex":"[a-z0-9](?:[a-z0-9-]{0,30}[a-z0-9])?","allowMatch":"fullmatch","denyRegex":"(?!)","denyMatch":"search","reservedNames":[]}},"storage":{"mode":"postgresql","maxMessageBytes":500000,"maxRetainedContentBytes":256000000,"maxAcceptedMessages":10000,"maxDeliveries":64000},"retention":{"receiveSeconds":604800,"consumeSeconds":3600},"encryption":{"protectionPolicy":"hybrid-required","allowedMethods":[{"method":57,"name":"hybrid"}]},"purchaseInvoicesAvailable":false,"purchaseFirstFulfillmentAvailable":false}