Skip to the documentation
MCP server

Domains

Adding domains, the DNS records they need, their logo, their addresses, the web app address and the workspace brand.

Domains tools

ToolWhat it does
listDomainsThe domains in this workspace, with whether each is verified, can send, has its catch-all on, and how many addresses it has. Returned a page at a time.
getDomainEverything about one domain, by id or name, including every DNS record to publish and whether it is found, missing or not checked yet.
addDomainAdd a domain and get back the DNS records to publish at its DNS host.
verifyDomainCheck a domain’s DNS again now and say which records are still missing.
setDomainCatchAllTurn the catch-all on or off, so either any address on the domain or only its listed addresses take mail.
getDomainLogoThe domain’s logo, its mark certificate, what public DNS publishes for it and, for a subdomain, the DMARC of the domain it belongs to.
setDomainLogoUpload the logo inboxes show next to mail from a domain, as SVG.
removeDomainLogoRemove the logo and take its record down. A chat always asks first.
setDomainLogoCertificateUpload the VMC or CMC that Gmail and Apple Mail need before they show the logo.
removeDomainLogoCertificateRemove the mark certificate. A chat always asks first.
setDomainDmarcPolicySet the DMARC policy to none, quarantine or reject. Inboxes show a logo only at quarantine or reject. A chat always asks first.
removeDomainRemove a domain and withdraw the records written to a connected DNS host. A chat always asks first.
listDomainAddressesThe addresses on one domain, with their label, whether each takes mail, and when it last received any. Returned a page at a time.
addDomainAddressCreate an address on a domain, with an optional label.
updateDomainAddressChange an address’s label, whether it takes mail, or both.
setAddressPhotoUpload the photo shown for an address in Nextmail, as base64 with its type.
removeAddressPhotoRemove an address’s photo. A chat always asks first.
removeDomainAddressRemove an address, so it stops taking mail and any sign-in for it ends. A chat always asks first.
getAppHostThe web app address of the workspace, whether people can sign in there or it is paused, and the DNS records it needs.
setAppHostSet the web app address, a subdomain such as mailbox.example.com on any domain, and get the records to publish.
verifyAppHostCheck the web app address again now.
removeAppHostRemove the web app address and sign everyone out of it. A chat always asks first.
getBrandingThe brand of the workspace: its mark, its logo, its logo for dark mode, its sign-in photo, its two fonts and its sign-in background.
updateBrandingChange the primary and secondary fonts, or the sign-in background: a preset, a colour or the uploaded photo.
setBrandImageSet the mark, the logo, the logo for dark mode or the sign-in photo from an image in Files.
removeBrandImageRemove one of the brand images, so the default shows in its place.
setDomainTrackingHostSet or remove the tracking host of a domain, the subdomain its tracked links and open pixel go through, and get the record to publish.
setDomainStorageHostSet or remove the files host of a domain, the subdomain its public download links are served from, and get the record to publish.
listAddressForwardsWhere the mail of an address is forwarded, whether each destination confirmed it, and whether the address keeps a copy here.
addAddressForwardsForward the mail of an address to more places. Each one is asked by email to confirm before it receives anything.
setAddressForwardEnabledPause a forwarding destination, or switch it back on.
removeAddressForwardStop forwarding to a destination. A chat always asks first.
resendAddressForwardConsentSend a destination that has not answered the email asking it to confirm, once more.
setAddressForwardModeKeep the mail of an address here as well as forwarding it, or only forward it. A chat always asks first.
listAddressMembersWho can read an address and how: as the owner, through a role, through a grant of its domain or through a grant of the address.
getAddressLoginWhether an address has a password of its own to sign in with, and when it was set and last used.
removeAddressLoginTake the password away from an address and sign out whoever used it. A chat always asks first.
listDnsConnectionsThe DNS provider accounts connected to the workspace, with the domains each one serves and the records it keeps there.
getDnsConnectionOne DNS connection and what disconnecting it would leave behind, including the verified domains that would stop receiving mail.
disconnectDnsConnectionDisconnect a DNS provider account and take down the records written through it, or remove one that is already disconnected. A chat always asks first.
getDomainDnsHow the DNS of a domain is set up, where each kind of record stands, and which connected zone answers for it.
setDomainDnsZoneChoose the zone a domain is set up through, when several connected zones could answer for it.
syncDomainDnsWrite or repair the DNS records a domain needs through its connected zone, as Sync does in the app.
getMailAppSettingsThe server settings that put an address into Apple Mail, Outlook, Thunderbird, the Gmail app or any other mail app: the IMAP, SMTP and POP3 hosts and ports, the CalDAV and CardDAV servers with their principal URLs, the username, and which of those connections the address accepts.
listAppPasswordsThe app passwords that let mail apps sign in to an address: who holds each one, when it was created and when a mail app last used it. The passwords themselves are never shown again.
revokeAppPasswordRevoke one app password, so the mail app using it is signed out within minutes. The address and its mail stay. A chat always asks first.
sendMailAppSetupEmail someone a one-time link that sets up an address in their mail app. The app password it creates acts as you, for that address alone, and the link expires after three days. A chat asks first unless you asked for it.
createAppPasswordCreate an app password that signs a mail, calendar or contacts app in to one address as you. The password comes back once, with the server settings, and appleProfile: true adds the Apple configuration profile as XML. A chat always asks first, an OAuth connection needs a verification code, and a client limited to some addresses or domains cannot use it.
renameAppPasswordRename one app password, such as when the device it is for changes. The password itself stays the same and keeps working.
updateMailAppSettingsTurn imap, smtp, pop3, caldav and carddav on or off for an address, passing only the ones to change. A switched-off kind refuses every sign-in, and apps connected over it are signed out within minutes. Only the workspace owner or someone who manages domains may change them. A chat asks first unless you asked for it.
setDomainSenderNameSet the name mail from a domain goes out under when the address has no name of its own, or clear it. A chat asks first unless you asked for it.

Reading needs domains:read and changing needs domains:write. A domain reaches every address on it, so a client limited to some addresses or domains cannot add one, and changes a domain or its addresses only when it holds that whole domain.

The workspace’s last domain cannot be removed from here, because removing it deletes the whole mailbox with it. That is done in the app, where it is confirmed first.

The tools act exactly as the REST API does, and the /domains pages of the API reference describe every field and refusal.

Removing a domain or an address also needs workspace:manage in your role unless you own the workspace, the same permission the app asks for. It is console-only, so no approval can give it to a client.

Some tools on this server make a change the REST API guards with a verification code, and ask for the same code. Until the client has verified a code in the last 60 minutes, or the person has chosen Allow changes for 60 minutes on it in Account → Connected apps, such a tool answers with a result that starts Refused (step_up_required): and changes nothing. emptyAudience never asks for a code. The API Authentication page lists every tool that asks, and shows how to ask for a code and verify it.

Changing a logo, its certificate or the DMARC policy also publishes the DNS record where Nextmail writes the domain’s DNS, and the result says how that went or which record to publish yourself.

The web app address belongs to the whole workspace, so any client with domains:read can read it, and only the workspace owner’s client, connected with every address, sets or removes it. Setting one needs a paid plan, and the /app-host pages of the API reference describe every field and refusal.

The brand belongs to the whole workspace too. Reading it needs settings:read and changing it settings:write, and a client limited to some addresses or domains can read it but not change it. A personal space carries no brand, and the /branding pages of the API reference describe every field and refusal.

Forwarding needs domains:write and reaches only an address you reach yourself. Seeing who reaches an address needs members:read, and its sign-in needs members:write. Setting the password of an address is not a tool: it is done in the app or with PUT /domains/{id}/addresses/{addressId}/login.

A DNS provider account is connected in the app, because the provider asks the person to sign in. Once one is, these tools read it and write records through it. Disconnecting one needs the whole workspace, and workspace:manage in your role unless you own it.

Reading the mail app settings needs domains:read, and turning their connections on or off needs domains:write. Listing, creating, renaming and revoking app passwords and emailing a setup link need members:write, which a client limited to some addresses or domains never holds. createAppPassword shows the password once, in its result, so anyone who can read the chat can read the password. createAppPassword and sendMailAppSetup hand the address to a mail app, so the client must itself hold every one of these permissions that your role holds: threads:read, threads:write, emails:send, drafts:write, labels:write, calendar:read, calendar:write, contacts:read and contacts:write. Without one of them the tool is refused.

Reference

listDomains

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

getDomain

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

Everything about one domain: whether it is verified and why not, whether it can send and what stops it, the catch-all, DMARC, the tracking and files hosts, and every DNS record to publish with its status (found, missing, or not checked yet).

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters

Also available in

API
GET /domainsGET /domains/{id}
TypeScript
nextmail.domains.list()nextmail.domains.listAll()nextmail.domains.iterate()nextmail.domains.get()
Python
domains.list()domains.list_all()domains.iterate()domains.get()
Ruby
domains.listdomains.list_alldomains.iteratedomains.get
PHP
domains->listdomains->listAlldomains->iteratedomains->get
Go
Domains.ListDomains.ListAllDomains.IterateDomains.Get
Java
domains().listdomains().listAlldomains().iteratedomains().get
C#
Domains.ListAsyncDomains.ListAllAsyncDomains.IterateAsyncDomains.GetAsync

addDomain

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Add a domain you own to this workspace. It starts unverified with its catch-all on, and the answer lists the DNS records to publish at its DNS host. Once they answer, verifyDomain confirms it. Refused when the domain is already claimed, when a parent or child domain belongs to someone else, or when the plan allows no more domains.

Inputs

domainstringRequired

The bare domain, e.g. example.com

Also available in

API
POST /domains
TypeScript
nextmail.domains.create()
Python
domains.create()
Ruby
domains.create
PHP
domains->create
Go
Domains.Create
Java
domains().create
C#
Domains.CreateAsync

verifyDomain

Scopesdomains:writeThe app's assistant runs it without askingToolkitworkspace

Check the DNS of one domain again now, instead of waiting for the next scheduled check, and say which records are still missing. A check made in the last few seconds is reused rather than repeated.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters

Also available in

API
POST /domains/{id}/verify
TypeScript
nextmail.domains.verify()
Python
domains.verify()
Ruby
domains.verify
PHP
domains->verify
Go
Domains.Verify
Java
domains().verify
C#
Domains.VerifyAsync

setDomainCatchAll

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Turn the catch-all of a domain on or off. On, mail to any address at the domain arrives here, listed or not. Off, only the addresses listed on it take mail and the rest is refused.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
catchAllbooleanRequired

Also available in

API
PATCH /domains/{id}
TypeScript
nextmail.domains.update()
Python
domains.update()
Ruby
domains.update
PHP
domains->update
Go
Domains.Update
Java
domains().update
C#
Domains.UpdateAsync

setDomainLogoCertificate

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Set the mark certificate of a domain logo, replacing any there was: the Verified Mark Certificate (VMC) or Common Mark Certificate (CMC) a certificate authority issued for the domain. Gmail shows the logo only with one, and only a VMC earns the blue checkmark and the logo in Apple Mail. The chain is put in order and served, and the logo record points at it. Inboxes show nothing when the logo inside the certificate differs from the published one, so the logo from the certificate then becomes the published one. The domain has to be verified.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
certificatestringRequired

The certificate file: PEM text as it came, or a DER or PKCS #7 file in base64.

1 to 175020 characters

Also available in

API
PUT /domains/{id}/logo/certificate
TypeScript
nextmail.domains.setLogoCertificate()
Python
domains.set_logo_certificate()
Ruby
domains.set_logo_certificate
PHP
domains->setLogoCertificate
Go
Domains.SetLogoCertificate
Java
domains().setLogoCertificate
C#
Domains.SetLogoCertificateAsync

removeDomainLogoCertificate

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Remove the mark certificate of a domain logo and delete the stored file. The logo stays, but its record no longer points at a certificate, so Gmail and Apple Mail stop showing it. Removing a certificate from a domain that has none changes nothing.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters

Also available in

API
DELETE /domains/{id}/logo/certificate
TypeScript
nextmail.domains.removeLogoCertificate()
Python
domains.remove_logo_certificate()
Ruby
domains.remove_logo_certificate
PHP
domains->removeLogoCertificate
Go
Domains.RemoveLogoCertificate
Java
domains().removeLogoCertificate
C#
Domains.RemoveLogoCertificateAsync

setDomainDmarcPolicy

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Set the DMARC policy of a domain: what its DMARC record tells receivers to do with mail that fails its checks. none only monitors, quarantine sends that mail to spam and reject refuses it. Inboxes show the domain logo only at quarantine or reject. A policy stricter than none needs mail from the domain to be signed first, and anything else that sends as the domain, such as a newsletter tool or a help desk, has to sign as it too, or its mail lands in spam or is refused. Where Nextmail writes the DNS of the domain the record is updated straight away, keeping its other tags such as rua, and otherwise the answer gives the record to publish.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
dmarcPolicystringRequired

none to only monitor, quarantine to send failing mail to spam, reject to refuse it.

One of"none""quarantine""reject"

Also available in

API
PATCH /domains/{id}
TypeScript
nextmail.domains.update()
Python
domains.update()
Ruby
domains.update
PHP
domains->update
Go
Domains.Update
Java
domains().update
C#
Domains.UpdateAsync

removeDomain

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Remove a domain from this workspace. Its addresses stop taking mail, its tracking and files hosts retire, and records written to a connected DNS host are withdrawn. The last domain of a workspace cannot be removed here, because that deletes the whole mailbox; that is done in the app. This cannot be undone. Anybody but the workspace owner also needs a role that may remove domains (workspace:manage).

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters

Also available in

API
DELETE /domains/{id}
TypeScript
nextmail.domains.delete()
Python
domains.delete()
Ruby
domains.delete
PHP
domains->delete
Go
Domains.Delete
Java
domains().delete
C#
Domains.DeleteAsync

listDomainAddresses

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

The addresses listed on one domain, by address: the label, whether each takes mail, and when it last received any. With the catch-all on, unlisted addresses take mail too. One page at a time: when more follow, the last line gives a cursor to pass back for the next page.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
limitinteger
At least 1At most 100
cursorstring

Also available in

API
GET /domains/{id}/addresses
TypeScript
nextmail.domains.listAddresses()nextmail.domains.listAllAddresses()nextmail.domains.iterateAddresses()
Python
domains.list_addresses()domains.list_all_addresses()domains.iterate_addresses()
Ruby
domains.list_addressesdomains.list_all_addressesdomains.iterate_addresses
PHP
domains->listAddressesdomains->listAllAddressesdomains->iterateAddresses
Go
Domains.ListAddressesDomains.ListAllAddressesDomains.IterateAddresses
Java
domains().listAddressesdomains().listAllAddressesdomains().iterateAddresses
C#
Domains.ListAddressesAsyncDomains.ListAllAddressesAsyncDomains.IterateAddressesAsync

addDomainAddress

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Add an address to a domain, such as sales on example.com, with an optional label. Adding one that was removed brings it back. Refused for an address reserved for an account, or when the workspace holds as many addresses as it may.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
localPartstringRequired

The part before the @, e.g. sales

1 to 64 charactersPattern^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*$
labelstring
Up to 120 characters

Also available in

API
POST /domains/{id}/addresses
TypeScript
nextmail.domains.createAddress()
Python
domains.create_address()
Ruby
domains.create_address
PHP
domains->createAddress
Go
Domains.CreateAddress
Java
domains().createAddress
C#
Domains.CreateAddressAsync

updateDomainAddress

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Change an address on a domain: its label, whether it takes mail, or both. A disabled address keeps its settings, and enabling it again restores it. An empty label clears it.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
labelstring
Can be nullUp to 120 characters
enabledboolean

Also available in

API
PATCH /domains/{id}/addresses/{addressId}
TypeScript
nextmail.domains.updateAddress()
Python
domains.update_address()
Ruby
domains.update_address
PHP
domains->updateAddress
Go
Domains.UpdateAddress
Java
domains().updateAddress
C#
Domains.UpdateAddressAsync

setAddressPhoto

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Set the photo of an address on a domain, replacing any there was. Mail from the address shows it in Nextmail, in place of the domain logo. Pass the image in base64 as image, with its type: image/png, image/jpeg, image/webp, image/gif, up to 5MB. It is cropped to a square and stored as JPEG or PNG.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
imagestringRequired

The image in base64, or as a data: URL.

1 to 7340032 characters
contentTypestringRequired

The type of the image: image/png, image/jpeg, image/webp, image/gif.

1 to 100 characters

Also available in

API
PUT /domains/{id}/addresses/{addressId}/photo
TypeScript
nextmail.domains.setAddressPhoto()
Python
domains.set_address_photo()
Ruby
domains.set_address_photo
PHP
domains->setAddressPhoto
Go
Domains.SetAddressPhoto
Java
domains().setAddressPhoto
C#
Domains.SetAddressPhotoAsync

removeAddressPhoto

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Remove the photo of an address on a domain and delete the stored image, so mail from it shows the domain logo again. Removing a photo from an address that has none changes nothing.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
DELETE /domains/{id}/addresses/{addressId}/photo
TypeScript
nextmail.domains.removeAddressPhoto()
Python
domains.remove_address_photo()
Ruby
domains.remove_address_photo
PHP
domains->removeAddressPhoto
Go
Domains.RemoveAddressPhoto
Java
domains().removeAddressPhoto
C#
Domains.RemoveAddressPhotoAsync

removeDomainAddress

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Remove an address from a domain. It stops taking mail as a listed address, the people it was shared with lose it, and any sign-in for it ends. Adding it again later starts it fresh. Anybody but the workspace owner also needs a role that may remove domains (workspace:manage).

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
DELETE /domains/{id}/addresses/{addressId}
TypeScript
nextmail.domains.deleteAddress()
Python
domains.delete_address()
Ruby
domains.delete_address
PHP
domains->deleteAddress
Go
Domains.DeleteAddress
Java
domains().deleteAddress
C#
Domains.DeleteAddressAsync

getAppHost

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

The web app address of this workspace: a subdomain on any domain, such as mailbox.example.com, where its people open Nextmail with the workspace brand. Says whether it is live, waiting for its DNS records, or paused because the workspace is on the free plan, and gives the records to publish. With none set, it names the verified domains of the workspace and the suggested address.

Inputs

Takes no input.

Also available in

API
GET /app-host
TypeScript
nextmail.appHost.get()
Python
app_host.get()
Ruby
app_host.get
PHP
appHost->get
Go
AppHost.Get
Java
appHost().get
C#
AppHost.GetAsync

setAppHost

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Set the web app address of this workspace, replacing any it had: a subdomain on any domain, such as mailbox.example.com, where only its members, the people who sign in with one of its addresses and its invitees can sign in, under the workspace brand. Under a verified domain of the workspace it takes one CNAME record. Under any other domain it also takes a TXT record that proves the domain is yours. The answer gives the records to publish. Needs a paid plan. Setting the address it already has checks it again.

  • Asks for a verification code
    Only when it replaces the web app addressPUT /app-host

Inputs

hoststringRequired

The subdomain, e.g. mailbox.example.com, on any domain.

1 to 253 characters

Also available in

API
DELETE /app-hostPUT /app-host
TypeScript
nextmail.appHost.delete()nextmail.appHost.set()
Python
app_host.delete()app_host.set()
Ruby
app_host.deleteapp_host.set
PHP
appHost->deleteappHost->set
Go
AppHost.DeleteAppHost.Set
Java
appHost().deleteappHost().set
C#
AppHost.DeleteAsyncAppHost.SetAsync

removeAppHost

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Remove the web app address of this workspace. Everyone signed in there is signed out and the address stops opening the workspace, while nextmail.sh keeps working for the same people. The CNAME record stays at the DNS host until someone removes it.

Inputs

Takes no input.

Also available in

API
DELETE /app-hostPUT /app-host
TypeScript
nextmail.appHost.delete()nextmail.appHost.set()
Python
app_host.delete()app_host.set()
Ruby
app_host.deleteapp_host.set
PHP
appHost->deleteappHost->set
Go
AppHost.DeleteAppHost.Set
Java
appHost().deleteappHost().set
C#
AppHost.DeleteAsyncAppHost.SetAsync

getBranding

Scopessettings:readThe app's assistant runs it without askingToolkitworkspace

The brand of this workspace: the links to its mark, its logo, its logo for dark mode and the image behind its sign-in page, its primary and secondary fonts, and the background of its sign-in page (a preset, a colour or the uploaded image). A personal space carries no brand.

Inputs

Takes no input.

Also available in

API
GET /branding
TypeScript
nextmail.branding.get()
Python
branding.get()
Ruby
branding.get
PHP
branding->get
Go
Branding.Get
Java
branding().get
C#
Branding.GetAsync

updateBranding

Scopessettings:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Change the fonts or the sign-in page background of this workspace brand. Give fonts with primary, secondary or both, each a font id or null for the default; a font left out keeps its value. Give loginBackground as { kind: "preset", preset }, { kind: "color", color: "#rrggbb" } or { kind: "image" } for the uploaded image, or null for the default. Add logo: "dark" or "light" to choose the sign-in logo, or leave it null to match the background. Upload the image itself with setBrandImage first: { kind: "image" } is refused while no sign-in photo is uploaded. The fonts apply in the web app for everyone in the workspace, the primary to its text and the secondary to page headings, and the sign-in background shows on its web app address.

Inputs

fontsobject

The fonts to change. Font ids: system, arial, helvetica, verdana, tahoma, trebuchet-ms, georgia, times-new-roman, courier-new, dm-sans, inter, roboto, open-sans, lato, montserrat, poppins, nunito, work-sans, source-sans-3, ibm-plex-sans, merriweather, playfair-display, instrument-serif, jetbrains-mono, dm-mono, geist-mono.

primarystring
Can be nullOne of"system""arial""helvetica""verdana""tahoma""trebuchet-ms""georgia""times-new-roman""courier-new""dm-sans""inter""roboto""open-sans""lato""montserrat""poppins""nunito""work-sans""source-sans-3""ibm-plex-sans""merriweather""playfair-display""instrument-serif""jetbrains-mono""dm-mono""geist-mono"
secondarystring
Can be nullOne of"system""arial""helvetica""verdana""tahoma""trebuchet-ms""georgia""times-new-roman""courier-new""dm-sans""inter""roboto""open-sans""lato""montserrat""poppins""nunito""work-sans""source-sans-3""ibm-plex-sans""merriweather""playfair-display""instrument-serif""jetbrains-mono""dm-mono""geist-mono"
loginBackgroundobject

The sign-in page background, or null for the default. Presets: dusk, mist, sand, night, meadow, dots, brush, trail, ember, canvas, bloom, field, wanderer, gold. Logo: dark, light.

Can be null
kindstringRequired
One of"preset""color""image"
presetstring
Can be nullOne of"dusk""mist""sand""night""meadow""dots""brush""trail""ember""canvas""bloom""field""wanderer""gold"
colorstring
Can be nullPattern^#[0-9a-f]{6}$
logostring
Can be nullOne of"dark""light"

Also available in

API
PATCH /branding
TypeScript
nextmail.branding.update()
Python
branding.update()
Ruby
branding.update
PHP
branding->update
Go
Branding.Update
Java
branding().update
C#
Branding.UpdateAsync

setBrandImage

Scopessettings:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Set one of the brand images of this workspace from an image in Files, replacing the one there was: the mark (a square icon), the logo, the logo for dark mode, or the photo behind the sign-in page of its web app address. Setting the sign-in photo also switches the sign-in page to it. The image is fitted and stored as WebP; it can start from up to 5MB.

Inputs

variantstringRequired

Which image: mark, wordmark, wordmark-dark, login-background. mark is the square icon, wordmark the logo, wordmark-dark the logo for dark mode, and login-background the photo behind the sign-in page of the web app address.

One of"mark""wordmark""wordmark-dark""login-background"
fileIdstringRequired

The fileId of an image in Files: one the user attached in this chat, or one listFiles found.

1 to 128 characters

Also available in

API
PUT /branding/images/{variant}
TypeScript
nextmail.branding.uploadImage()
Python
branding.upload_image()
Ruby
branding.upload_image
PHP
branding->uploadImage
Go
Branding.UploadImage
Java
branding().uploadImage
C#
Branding.UploadImageAsync

removeBrandImage

Scopessettings:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Remove one of the brand images of this workspace and delete the stored image, so the default shows in its place. Removing the sign-in photo while the sign-in page shows it switches the page back to the preset or colour chosen before, or to the default. Removing an image that is not set changes nothing.

Inputs

variantstringRequired

Which image: mark, wordmark, wordmark-dark, login-background. mark is the square icon, wordmark the logo, wordmark-dark the logo for dark mode, and login-background the photo behind the sign-in page of the web app address.

One of"mark""wordmark""wordmark-dark""login-background"

Also available in

API
DELETE /branding/images/{variant}
TypeScript
nextmail.branding.removeImage()
Python
branding.remove_image()
Ruby
branding.remove_image
PHP
branding->removeImage
Go
Branding.RemoveImage
Java
branding().removeImage
C#
Branding.RemoveImageAsync

setDomainTrackingHost

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Set the tracking host of a domain, the subdomain the links and the open pixel of its mail go through, or remove it with null. The domain has to be verified, and the answer gives the CNAME record to publish for the host.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
hoststringRequired

A subdomain of the domain, such as track.example.com, or null to remove it.

Can be nullUp to 253 characters

Also available in

API
PATCH /domains/{id}
TypeScript
nextmail.domains.update()
Python
domains.update()
Ruby
domains.update
PHP
domains->update
Go
Domains.Update
Java
domains().update
C#
Domains.UpdateAsync

setDomainStorageHost

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Set the files host of a domain, the subdomain its public download links are served from, or remove it with null. The domain has to be verified, and the answer gives the record to publish for the host.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
hoststringRequired

A subdomain of the domain, such as track.example.com, or null to remove it.

Can be nullUp to 253 characters

Also available in

API
PATCH /domains/{id}
TypeScript
nextmail.domains.update()
Python
domains.update()
Ruby
domains.update
PHP
domains->update
Go
Domains.Update
Java
domains().update
C#
Domains.UpdateAsync

listAddressForwards

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

Where the mail of one address is forwarded: every destination, whether it confirmed it wants the mail, and whether the address also keeps a copy here.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
GET /domains/{id}/addresses/{addressId}/forwards
TypeScript
nextmail.domains.listAddressForwards()
Python
domains.list_address_forwards()
Ruby
domains.list_address_forwards
PHP
domains->listAddressForwards
Go
Domains.ListAddressForwards
Java
domains().listAddressForwards
C#
Domains.ListAddressForwardsAsync

addAddressForwards

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Forward the mail of an address to other places. Each destination gets an email asking it to confirm and receives nothing until it does. Addresses hosted here, ones already on the list and ones that would loop are skipped with the reason. 10 destinations per address at most.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
emailsstring[]Required
1 to 10 items

Also available in

API
POST /domains/{id}/addresses/{addressId}/forwards
TypeScript
nextmail.domains.addAddressForwards()
Python
domains.add_address_forwards()
Ruby
domains.add_address_forwards
PHP
domains->addAddressForwards
Go
Domains.AddAddressForwards
Java
domains().addAddressForwards
C#
Domains.AddAddressForwardsAsync

setAddressForwardEnabled

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Pause a forwarding destination, or switch it back on. A paused destination keeps its confirmation. When the last one that is on is paused, the address keeps its mail here again.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
forwardstringRequired

The forwarding destination, by its id or by the address it forwards to. listAddressForwards names every one.

1 to 320 characters
enabledbooleanRequired

Also available in

API
PATCH /domains/{id}/addresses/{addressId}/forwards/{forwardId}
TypeScript
nextmail.domains.updateAddressForward()
Python
domains.update_address_forward()
Ruby
domains.update_address_forward
PHP
domains->updateAddressForward
Go
Domains.UpdateAddressForward
Java
domains().updateAddressForward
C#
Domains.UpdateAddressForwardAsync

removeAddressForward

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Stop forwarding the mail of an address to one destination. When it was the last one that was on, the address keeps its mail here again.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
forwardstringRequired

The forwarding destination, by its id or by the address it forwards to. listAddressForwards names every one.

1 to 320 characters

Also available in

API
DELETE /domains/{id}/addresses/{addressId}/forwards/{forwardId}
TypeScript
nextmail.domains.deleteAddressForward()
Python
domains.delete_address_forward()
Ruby
domains.delete_address_forward
PHP
domains->deleteAddressForward
Go
Domains.DeleteAddressForward
Java
domains().deleteAddressForward
C#
Domains.DeleteAddressForwardAsync

resendAddressForwardConsent

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Send the confirmation email to a forwarding destination again, for one that has not answered. It reaches a real inbox.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
forwardstringRequired

The forwarding destination, by its id or by the address it forwards to. listAddressForwards names every one.

1 to 320 characters

Also available in

API
POST /domains/{id}/addresses/{addressId}/forwards/{forwardId}/resend
TypeScript
nextmail.domains.resendAddressForwardConsent()
Python
domains.resend_address_forward_consent()
Ruby
domains.resend_address_forward_consent
PHP
domains->resendAddressForwardConsent
Go
Domains.ResendAddressForwardConsent
Java
domains().resendAddressForwardConsent
C#
Domains.ResendAddressForwardConsentAsync

setAddressForwardMode

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Choose where the mail of an address goes. mailbox keeps it here, with a copy to every forwarding destination that is on. forward only sends it to the destinations and keeps no copy, so it needs one that is on first.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
modestringRequired
One of"mailbox""forward"

Also available in

API
PATCH /domains/{id}/addresses/{addressId}
TypeScript
nextmail.domains.updateAddress()
Python
domains.update_address()
Ruby
domains.update_address
PHP
domains->updateAddress
Go
Domains.UpdateAddress
Java
domains().updateAddress
C#
Domains.UpdateAddressAsync

listAddressMembers

Scopesmembers:readThe app's assistant runs it without askingToolkitworkspace

Who can read one address and how: the owner of the workspace, a role that reaches every address, a grant of the whole domain, or a grant of the address itself.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
GET /domains/{id}/addresses/{addressId}/members
TypeScript
nextmail.domains.listAddressMembers()
Python
domains.list_address_members()
Ruby
domains.list_address_members
PHP
domains->listAddressMembers
Go
Domains.ListAddressMembers
Java
domains().listAddressMembers
C#
Domains.ListAddressMembersAsync

getAddressLogin

Scopesmembers:writeThe app's assistant runs it without askingToolkitworkspace

Whether an address has a password of its own, which lets somebody sign in as that address alone, and when it was set and last used. Setting a password is not done from here.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
GET /domains/{id}/addresses/{addressId}/login
TypeScript
nextmail.domains.getAddressLogin()
Python
domains.get_address_login()
Ruby
domains.get_address_login
PHP
domains->getAddressLogin
Go
Domains.GetAddressLogin
Java
domains().getAddressLogin
C#
Domains.GetAddressLoginAsync

removeAddressLogin

Scopesmembers:writeThe app's assistant always asks firstToolkitworkspace

Take the password away from an address and sign out whoever used it. The address and its mail stay.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
DELETE /domains/{id}/addresses/{addressId}/login
TypeScript
nextmail.domains.deleteAddressLogin()
Python
domains.delete_address_login()
Ruby
domains.delete_address_login
PHP
domains->deleteAddressLogin
Go
Domains.DeleteAddressLogin
Java
domains().deleteAddressLogin
C#
Domains.DeleteAddressLoginAsync

listDnsConnections

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

The DNS provider accounts connected to this workspace, through which Nextmail writes the records of a domain itself, with the domains each one serves and how many records it keeps there.

Inputs

Takes no input.

Also available in

API
GET /dns-connections
TypeScript
nextmail.dnsConnections.list()
Python
dns_connections.list()
Ruby
dns_connections.list
PHP
dnsConnections->list
Go
DNSConnections.List
Java
dnsConnections().list
C#
DnsConnections.ListAsync

getDnsConnection

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

One DNS connection and what disconnecting it would leave behind: the domains it serves, the records Nextmail wrote through it, and the verified domains that would stop receiving mail.

Inputs

connectionstringRequired

The id of a DNS connection, as listDnsConnections names it.

1 to 64 characters

Also available in

API
GET /dns-connections/{id}
TypeScript
nextmail.dnsConnections.get()
Python
dns_connections.get()
Ruby
dns_connections.get
PHP
dnsConnections->get
Go
DNSConnections.Get
Java
dnsConnections().get
C#
DnsConnections.GetAsync

disconnectDnsConnection

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Disconnect a DNS provider account: the records Nextmail wrote through it come down, every domain it serves is detached and the connection is revoked, so a verified domain whose records come down stops receiving mail. A connection that is already disconnected is removed from the list instead. Check getDnsConnection first. Anybody but the workspace owner also needs a role that may manage the workspace (workspace:manage).

Inputs

connectionstringRequired

The id of a DNS connection, as listDnsConnections names it.

1 to 64 characters

Also available in

API
DELETE /dns-connections/{id}
TypeScript
nextmail.dnsConnections.delete()
Python
dns_connections.delete()
Ruby
dns_connections.delete
PHP
dnsConnections->delete
Go
DNSConnections.Delete
Java
dnsConnections().delete
C#
DnsConnections.DeleteAsync

getDomainDns

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

How the DNS of one domain is set up: whether Nextmail writes its records itself and through which connection and zone, where each kind of record stands, the records left to delete by hand, and which connected zone answers for the domain.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
refreshboolean

True asks the providers again which zone answers for the domain, rather than using the answer from the last minutes.

Also available in

API
GET /domains/{id}/dns
TypeScript
nextmail.domains.getDns()
Python
domains.get_dns()
Ruby
domains.get_dns
PHP
domains->getDns
Go
Domains.GetDNS
Java
domains().getDns
C#
Domains.GetDnsAsync

setDomainDnsZone

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Choose the zone of a connected DNS account that a domain is set up through, when several could answer for it. The zone has to cover the domain, be active and take a test record. Nothing is written yet: syncDomainDns writes the records.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
connectionstringRequired

The id of a DNS connection, as listDnsConnections names it.

1 to 64 characters
zonestringRequired

The id of the zone, as getDomainDns lists the zones that could answer for the domain.

1 to 64 characters

Also available in

API
PUT /domains/{id}/dns
TypeScript
nextmail.domains.setDnsZone()
Python
domains.set_dns_zone()
Ruby
domains.set_dns_zone
PHP
domains->setDnsZone
Go
Domains.SetDNSZone
Java
domains().setDnsZone
C#
Domains.SetDnsZoneAsync

syncDomainDns

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Write or repair the DNS records a domain needs, through the connected zone that answers for it, the way Sync does in the app. When only one zone answers it is attached first. With purpose, only that kind of record. A domain waiting for its records is verified once they are in place.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
purposestring

Write only this kind of record. Left out, every record the domain needs.

One of"dmarc""tracking""storage""bimi""app-host"

Also available in

API
POST /domains/{id}/dns/sync
TypeScript
nextmail.domains.syncDns()
Python
domains.sync_dns()
Ruby
domains.sync_dns
PHP
domains->syncDns
Go
Domains.SyncDNS
Java
domains().syncDns
C#
Domains.SyncDnsAsync

getMailAppSettings

Scopesdomains:readThe app's assistant runs it without askingToolkitworkspace

The server settings that put an address into Apple Mail, Gmail, Outlook, Thunderbird or any other mail app: the IMAP, SMTP and POP3 hosts and ports, the CalDAV and CardDAV addresses that put its calendar and contacts into calendar and contacts apps, the username, and which of those connections the address accepts. The password is an app password, which createAppPassword makes.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
GET /domains/{id}/addresses/{addressId}/mail-apps
TypeScript
nextmail.domains.getMailAppSettings()
Python
domains.get_mail_app_settings()
Ruby
domains.get_mail_app_settings
PHP
domains->getMailAppSettings
Go
Domains.GetMailAppSettings
Java
domains().getMailAppSettings
C#
Domains.GetMailAppSettingsAsync

listAppPasswords

Scopesmembers:writeThe app's assistant runs it without askingToolkitworkspace

The app passwords that let mail apps sign in to an address: who holds each, when it was made and when a mail app last used it. The passwords themselves are never shown again.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters

Also available in

API
GET /domains/{id}/addresses/{addressId}/app-passwords
TypeScript
nextmail.domains.listAppPasswords()
Python
domains.list_app_passwords()
Ruby
domains.list_app_passwords
PHP
domains->listAppPasswords
Go
Domains.ListAppPasswords
Java
domains().listAppPasswords
C#
Domains.ListAppPasswordsAsync

revokeAppPassword

Scopesmembers:writeThe app's assistant always asks firstToolkitworkspace

Revoke one app password so the mail app using it is signed out within minutes. The address and its mail stay.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
passwordstringRequired
1 to 128 characters

Also available in

API
DELETE /domains/{id}/addresses/{addressId}/app-passwords/{passwordId}
TypeScript
nextmail.domains.deleteAppPassword()
Python
domains.delete_app_password()
Ruby
domains.delete_app_password
PHP
domains->deleteAppPassword
Go
Domains.DeleteAppPassword
Java
domains().deleteAppPassword
C#
Domains.DeleteAppPasswordAsync

sendMailAppSetup

Scopesmembers:writeThe app's assistant always asks firstToolkitworkspace

Email someone a one-time link to set up an address in their mail app. The link creates an app password that acts as you for that address alone, shows it once and expires in three days. It reaches a real inbox.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
recipientstringRequired
Up to 320 charactersFormatemail

Also available in

API
POST /domains/{id}/addresses/{addressId}/mail-app-setup
TypeScript
nextmail.domains.sendMailAppSetup()
Python
domains.send_mail_app_setup()
Ruby
domains.send_mail_app_setup
PHP
domains->sendMailAppSetup
Go
Domains.SendMailAppSetup
Java
domains().sendMailAppSetup
C#
Domains.SendMailAppSetupAsync

createAppPassword

Scopesmembers:writeThe app's assistant always asks firstToolkitworkspace

Create an app password that signs a mail, calendar or contacts app in to an address as you. The password is shown this once, with the server settings, so hand it to the person straight away. Pass appleProfile to also get an Apple configuration profile that sets up an iPhone, iPad or Mac in one step. Both are secrets.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
namestringRequired

What to call it, such as the device it is for.

1 to 64 characters
appleProfileboolean

Also return the Apple configuration profile, the XML of a .mobileconfig file.

Also available in

API
POST /domains/{id}/addresses/{addressId}/app-passwords
TypeScript
nextmail.domains.createAppPassword()
Python
domains.create_app_password()
Ruby
domains.create_app_password
PHP
domains->createAppPassword
Go
Domains.CreateAppPassword
Java
domains().createAppPassword
C#
Domains.CreateAppPasswordAsync

renameAppPassword

Scopesmembers:writeThe app's assistant runs it without askingToolkitworkspace

Rename an app password, such as when the device it is for changes. The password itself stays the same and keeps working.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
passwordstringRequired

The ID listAppPasswords shows.

1 to 128 characters
namestringRequired
1 to 64 characters

Also available in

API
PATCH /domains/{id}/addresses/{addressId}/app-passwords/{passwordId}
TypeScript
nextmail.domains.updateAppPassword()
Python
domains.update_app_password()
Ruby
domains.update_app_password
PHP
domains->updateAppPassword
Go
Domains.UpdateAppPassword
Java
domains().updateAppPassword
C#
Domains.UpdateAppPasswordAsync

updateMailAppSettings

Scopesdomains:writeThe app's assistant always asks firstToolkitworkspace

Turn each kind of mail app connection on or off for an address: imap, smtp and pop3 for mail, caldav for its calendar and carddav for contacts. Pass only the ones to change. A switched-off kind refuses every sign-in to it, and connections of that kind that are already open end within minutes. Only the workspace owner or someone who manages domains may change them.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
addressstringRequired

The address, by its id, by the whole address (sales@example.com) or by the part before the @. listDomainAddresses names every one.

1 to 320 characters
imapboolean

Accept IMAP sign-ins, which keep folders and read state in step.

smtpboolean

Accept SMTP sign-ins, for sending from a mail app.

pop3boolean

Accept POP3 sign-ins, for apps that only download the inbox.

caldavboolean

Serve the calendar of the address over CalDAV.

carddavboolean

Serve the contacts of the workspace over CardDAV.

Also available in

API
PATCH /domains/{id}/addresses/{addressId}/mail-apps
TypeScript
nextmail.domains.updateMailAppSettings()
Python
domains.update_mail_app_settings()
Ruby
domains.update_mail_app_settings
PHP
domains->updateMailAppSettings
Go
Domains.UpdateMailAppSettings
Java
domains().updateMailAppSettings
C#
Domains.UpdateMailAppSettingsAsync

setDomainSenderName

Scopesdomains:writeThe app's assistant asks first unless you asked for itToolkitworkspace

Set the name mail from a domain goes out under when the address has no name of its own, such as "Acme Support", or clear it with null so that mail goes out under the name of the workspace. An address with a name of its own keeps it: change that with updateDomainAddress.

Inputs

domainstringRequired

The domain, by its id or by its name (example.com). listDomains names every one.

1 to 253 characters
senderNamestringRequired

The name, at most 120 characters, or null to clear it.

Can be nullUp to 120 characters

Also available in

API
PATCH /domains/{id}
TypeScript
nextmail.domains.update()
Python
domains.update()
Ruby
domains.update
PHP
domains->update
Go
Domains.Update
Java
domains().update
C#
Domains.UpdateAsync