SDK reference / Models

Models.Mail namespace

Types

TypeKindDescription
CreateWebmailSessionRequestclassRequest payload for `:createWebmailSession` (passkey assertion required; app passwords rejected; W110).
EmailBindingclass
EmailBindingCreateclass
EmailBindingCreate_annotationsclassAt most 256 KiB in all; never policy input.
EmailBindingCreate_labelsclassAt most 64.
EmailBindingMergePatchUpdateclass
EmailBindingMergePatchUpdate_appIdMember1class
EmailBindingMergePatchUpdate_credentialRefMember1class
EmailBindingMergePatchUpdate_dailyCapMember1class
EmailBindingMergePatchUpdate_displayNameMember1class
EmailBindingMergePatchUpdate_smtpHostMember1class
EmailBindingMergePatchUpdate_smtpPortMember1class
EmailBindingMergePatchUpdate_smtpUsernameMember1class
EmailBindingModeenumEmail binding delivery mode (ADR-0718).
EmailBindingStateenumLifecycle state of an EmailBinding.
EmailBinding_annotationsclassAt most 256 KiB in all; never policy input.
EmailBinding_labelsclassAt most 64.
IssueAppPasswordRequestclassRequest payload for `:issueAppPassword` on a Mailbox.
MailAliasclassMail alias or catch-all forwarding rule under a verified custom domain (W110; ADR-0816).
MailAliasMergePatchUpdateclassMail alias or catch-all forwarding rule under a verified custom domain (W110; ADR-0816).
MailAliasMergePatchUpdate_displayNameMember1class
MailAliasMergePatchUpdate_isCatchAllMember1class
MailAliasStateenumLifecycle state of a MailAlias (ADR-0816).
MailAlias_annotationsclassAt most 256 KiB in all; never policy input.
MailAlias_labelsclassAt most 64.
MailDnsRecordViewclassApp e-mail binding for paid projects (W107; ADR-0718).Never available on the free tier (DR-24). Supports BYO 465/587 SMTP or paid-only managed relay with daily caps and >1% failure auto-stop.One DNS record to publish (W107's DNS helper).
MailboxclassHosted mailbox under a verified custom domain (W110; ADR-0816).Paid-only (never available on the free tier). Metered under `mail-mailbox-days` (5 GiB included) and `mail-storage-gib-hours`.
MailboxCredentialRequestclassA request to the mail server for a mailbox credential (W110 part 2; ADR-0826): issuing or revoking an IMAP/SMTP app password. Themail server generates an issued secret; it is sealed under the project's key and read once through `:readCredential`, by theprincipal that made the request only.
MailboxCredentialSecretclassThe one-time answer of `:readCredential` (ADR-0826): the secret once, to the requester only; afterwards `delivery` says thesecret was DELIVERED or EXPIRED (unread for an hour) and `secret` is absent.
MailboxDeletionReceiptclassOffline-verifiable signed deletion receipt emitted by `:purgeWithReceipt` on a Mailbox (W110).
MailboxMergePatchUpdateclassHosted mailbox under a verified custom domain (W110; ADR-0816).Paid-only (never available on the free tier). Metered under `mail-mailbox-days` (5 GiB included) and `mail-storage-gib-hours`.
MailboxMergePatchUpdate_displayNameMember1class
MailboxMergePatchUpdate_enabledMember1class
MailboxMergePatchUpdate_quotaGiBMember1class
MailboxPasskeyEnrollmentclassA one-time enrolment for a mailbox user's own passkey (W110 2b; ADR-0826 item 2). The link opens the webmail sign-in front, whichregisters the passkey; the code travels in the URL fragment, is single use and expires. Give it to the mailbox user only.
MailboxPasskeyResetclassThe answer of `:resetPasskeys`: what the reset ended.
MailboxStateenumLifecycle state of a hosted Mailbox (ADR-0816).
Mailbox_annotationsclassAt most 256 KiB in all; never policy input.
Mailbox_labelsclassAt most 64.
ReadCredentialRequestclassRequest payload for `:readCredential` on a Mailbox.
RestoreMailboxRequestclassRequest payload for single-mailbox `:restore` from snapshot/backup (W110).
RevokeAppPasswordRequestclassRequest payload for `:revokeAppPassword` on a Mailbox.
SendAppEmailRequestclassRequest payload for `:send` on an EmailBinding (W107).
SendAppEmailResponseclassResult of sending an app email through BYO SMTP or managed relay (W107).
VerifyEmailDomainRequestclassRequest payload for `:verifyDomain` on an EmailBinding (W107).
VerifyEmailDomainRequest_dnsRecordsclassAuthoritative TXT records observed in DNS (for lab/test deterministic checks).
WebmailSessionResponseclassPasskey-only webmail session response (W110; Roundcube/webmail front).