Docs menu

Communications

Goal: Connect the mail accounts your workspace sends and reads email through.

This window opens as a panel: it floats at the right at first, docks anywhere, and keeps your place when you move it. See Node editors and work windows as panels.

The window is titled Communications; its hero reads Email delivery: "This workspace sends and reads email through the mail accounts you connect. Each account’s credential is stored in your own secret vault, never in Fathym’s." Under it: "Configured and verified are two different facts. Only a real send proves the second."

The hero's pill follows the best account, never what is merely saved:

PillMeans
ConnectedAt least one account's last Test passed
Not tested yetAccounts are saved, and none has passed a Test
Test failedEvery saved account's last Test failed
No mail accountsNo account has its settings saved yet

Under the hero, a strip says what the window does:

ItemSays
Email through your mail accounts"Each mail account is a relay or mailbox you already run or pay for, and this workspace sends through the ones you connect; nothing here provisions a mail server, and no mail is routed through Fathym."
Where the password goes"An account’s password is written to this workspace’s own key vault in your Azure landing zone, never to Fathym’s."
What it is not for"It connects mail accounts, so there are no campaigns or templates, and no SMS."

Before you start

  • A connected cloud and a provisioned private landing zone. Until both exist the menu has no Communications. The landing zone is needed because each account's password or secret is kept in its Key Vault.
  • To connect an account, or change its server, sign-in, password or sender address, you are the workspace owner or hold Workspace.Access.Manage. See Rights.

You do not need a verified domain or any Azure email resource. The window's own Before you start list is folded below the accounts. It reads:

  • "A mail account to connect: an SMTP relay you can authenticate to, a Microsoft 365 mailbox, a Gmail account with an app password, or a mailbox on an IMAP server."
  • "For a relay, a sender address it is permitted to send as."
  • "A provisioned landing zone, because that is where the credential is stored."

Under it, What this is not for:

  • "Campaigns and templating. This is a transport, not a marketing engine."
  • "SMS, which ships declared-unavailable with a reason rather than hidden."
  • "A new mail address. Accounts that read mail read a mailbox you already have."

Mail accounts

The Mail accounts card lists every account: "The mailboxes and services this workspace sends and reads email through." With no account yet its button reads Connect your first mail account; after the first it reads Connect another mail account. Either opens Choose how to connect.

Each account is one row: its name, its kind and its lookup (for example SMTP relay · relay), and a pill with its state. The row says what the state means, and offers:

ControlWhat it does
TestSigns in to the account and sends no email. See Test an account
Send a test emailSends a real email through the account. Only on a kind that sends. See Send a test email
Edit settingsOpens the account's own form, filled from what is stored
RemoveStages the account's removal for the next Deploy. See Remove an account
RestoreOnly on an account staged for removal: takes the removal back

Open a row to see what is stored: Sender, a relay's Server, Encryption and Username, Password ("Stored in your workspace’s own secret vault", or "Not set"), the Daily limit where one is known, Saved and Last test. A password or secret is never shown, only whether one is stored.

When the workspace holds Email Watches, each row also says how many of them use the account: "Used by 1 email watch", or "Used by 3 email watches". A watch staged for removal is not counted.

An account whose connection ends on a known date, such as a Microsoft 365 secret OpenX created, reads "Expires in 12 days" from 30 days before, with Reconnect, which opens its form.

After a save, the account's saved sentence shows above the rows until the next Connect or Edit settings.

Account states

PillMeans
Not set up"Some of the settings this kind of account needs are missing."
Not tested"The settings are saved, and saved is not tested: only a Test shows the sign-in, the server and the network path all work."
Test failed"The last Test did not succeed. Open the settings, correct them and Test again."
Verified"The last Test succeeded. This account can send."
Removes on Deploy"This account is removed at the next Deploy. Until then it still works."
Removal proposed"A proposal to remove this account is waiting for a person to accept it."

Nothing waits on a Test: an account that is saved and not tested can still send.

Choose how to connect

Choose how to connect lists every kind of mail account, each with how it connects and what it does:

ChoiceKindWhat it doesOffers
Your own mail serverSMTP relay"Send through an SMTP relay you already run or rent, with its own password."Connect
AzureAzure Communication Services"Send through Azure Communication Services.""OpenX has no Azure Communication Services adapter, so this kind cannot be connected."
Sign in with MicrosoftMicrosoft 365"Send and read mail in a Microsoft 365 mailbox."Connect
Sign in with GoogleGoogle Workspace"Read mail in a Google Workspace mailbox.""This kind of mail account cannot be connected yet: its connection is not built."
Google app passwordPersonal Gmail"Read a Gmail mailbox with an app password."Connect
Any IMAP serverIMAP mailbox"Read a mailbox on any IMAP server."Connect

Connect opens one form card for that kind; Cancel closes it. Its first field is Name this account, and under it Lookup shows the lookup made from the name. A name is needed ("Give the account a name to continue.") and must be new: "Another mail account already has this name. Choose a different name." When you edit an account: "The lookup and the kind are fixed when an account is created. Only its name and settings change." The kind's own sections follow.

Connect an SMTP relay

The relay's form has three sections, Sender, Relay and Sign-in:

FieldWhat it is
Send fromRequired. "The address recipients see in the From line. It must be a mailbox your relay is allowed to send as. Most providers reject a From address they do not own."
Display name"Shown beside the address in the recipient’s mail client. With none, recipients see the raw address."
Relay hostRequired. "The SMTP hostname your provider gave you, for example smtp.sendgrid.net. Not your own domain, unless you run the server."
Port587 or 465. "Port 25 is not offered: Azure blocks outbound 25 platform-wide, so it would fail for an infrastructure reason that looks exactly like a defect."
EncryptionSTARTTLS (usually port 587) or Implicit TLS (usually port 465). "Match whatever your provider documents for the port above: a mismatch fails at the handshake, before authentication."
Relay usernameRequired. "The account the relay authenticates as. Often the full sender address; for API-key providers it is frequently a fixed literal such as apikey."
Relay passwordWrite-only. "Leave it blank to keep the stored one; re-enter it only to change it." Once one is stored, the field reads "Stored. Leave blank to keep it."

Beside the password: "The relay password is written to this workspace’s own key vault in your Azure landing zone, never to Fathym’s. The record stores a reference, so the password cannot be read back out of the workspace." If you change where the password signs in, the form asks for it again, for example: "Enter the relay password again: the relay host changed, and the stored password only signs in to the relay it was saved for."

A relay host of smtp.office365.com gets a notice: see Microsoft 365 mailboxes.

What saving does, as the form lists it:

  1. "Writes the relay settings onto the workspace record."
  2. "Writes the password into your landing zone’s key vault and stores only a reference."
  3. "The workspace can send, but no test message has gone through yet. Send a test email to prove it."

The form lists every problem it finds, and Save account stays disabled until there are none. On success:

Saved. The relay credential is stored in this workspace’s own key vault.

The save takes effect at once; it does not wait for Deploy.

Microsoft 365 mailboxes

A Microsoft 365 mailbox connects as its own mail account, through an identity OpenX creates in your Microsoft organisation, not as a relay. A relay whose host is smtp.office365.com says so beside the host: "Microsoft is switching off password sign-in for SMTP by default at the end of December 2026. Connect this Microsoft 365 account in Mail accounts and send through it instead." How to connect one: Connect a Microsoft 365 Mailbox.

Connect a Gmail or IMAP mailbox

Personal Gmail and IMAP mailbox accounts read mail; they do not send, so their rows have no Send a test email. Only a workspace owner or an access admin sees their form; anyone else reads: "Only a workspace owner or access admin can connect this account. You can read its state here."

Personal Gmail. The server is fixed, under Gmail’s mail server: imap.gmail.com, port 993, Implicit TLS (port 993). The form says first:

  • "Gmail needs an app password, not your Google password."
  • "App passwords need 2-Step Verification, and are not offered with Advanced Protection or with security-key-only 2-Step Verification."
  • "App passwords are not offered for work or school accounts."
  • "Changing your Google password revokes every app password, and this account stops reading until you paste a new one."
  • "Google describes app passwords as not recommended. They still work."
  • "If Gmail says IMAP is off, turn it on in Gmail’s settings under Forwarding and POP/IMAP."

Then Create an app password in your Google account, and the fields Gmail address and App password ("Paste it as Google shows it, with or without the spaces."). An address outside gmail.com and googlemail.com gets a warning, never a refusal: "This address is not a Gmail address. Personal Gmail is for gmail.com and googlemail.com."

IMAP mailbox. Under Your mail server: Server address, Port, Encryption (Implicit TLS (port 993) or STARTTLS (port 143); there is no unencrypted choice), Username and Password.

For both, the secret's help reads "Write-only. The stored secret is never sent back to this page." On Save account: "Saved. Press Test on the account to check that it can read the mailbox." After a Test that passes, opening the row lists the mailbox's folders.

Test an account

Test signs in to the account and sends no email. Saved is not tested: only a Test changes the pill to Verified or Test failed. For an SMTP relay the row says:

ResultThe row says
Passed"The relay answered and accepted the stored credential."
Refused"The relay answered and refused the session. Check the host, port and account with your mail provider."
Not reached"The relay could not be reached from this platform. Nothing was refused — the connection never completed."
Not secured"The relay answered but the connection could not be secured. Check the relay certificate and the TLS port."
Credential rejected"The relay answered and rejected the credential. Re-enter the relay password and save again."

When the relay sent a reply code, the row shows Reply code and the number. It never shows the relay's own words. Testing a relay needs Workspace.Communications.Send: "Testing the relay needs the Workspace.Communications.Send access right. A workspace owner can grant it in Access Management."

For a Personal Gmail or IMAP mailbox, the Test reads the mailbox and the row says, for example:

HealthThe row says
Works"Reading this mailbox works. Nothing to do."
Saved, not tested"Saved, but not tested yet. Press Test to check that it can read the mailbox."
Not reached"The mail server could not be reached. Check the server address and port and that the server is up, then test again."
Not secured"The secure connection to the mail server was not accepted. Check that the address is the one the server’s certificate is issued for and that its certificate is valid, then test again."
Password rejected"The mail server did not accept the password. Type the correct password in the stored-secret field and save, then test again. Several wrong tries in a row make the provider lock the account, so test once."
Mailbox not opened"The server answered but would not open the mailbox. Check that IMAP is turned on for this mailbox and that the account may read it, then test again."
Server address refused"OpenX does not connect to this server address. Use the address your mail provider documents for IMAP; for a Microsoft 365 mailbox, add it as a Microsoft 365 account instead."

The sign-in wait

Three failed sign-ins in ten minutes, counted over Test and Send a test email together, put a wait in place of both buttons:

Three sign-ins failed in ten minutes, so signing in waits 4 more minutes. This keeps the mail provider from locking the account.

Send a test email

On a kind that sends (an SMTP relay or a Microsoft 365 account), Send a test email opens Send the test email to, filled with your own address when you are signed in with one; press Send, or Cancel. It is a real email, sent the way your own app's sends are, with the subject "Test email from your OpenX workspace" and the body "This is a test email sent from your OpenX workspace to check that a mail account can send. You can delete it."

The result lists the steps the send reached: Reach the server, Sign in, Allowed to send, Recipient accepted and Message accepted, each Passed, Failed, Try again later or Not reached. The step it ended on gives the reason:

OutcomeReason
Accepted"The mail server accepted the test email. Accepted means it took the message, not that it has arrived."
Not reached"The mail server could not be reached. Check the host, the port and the encryption."
Sign-in rejected"The mail server rejected the username or password."
Sender refused"The mail server refused the message. Check that this account may send as its sender address."
Recipient refused"The mail server refused the recipient address."
Try again later"The mail server asked to try again later. Nothing is wrong with the settings yet."
Not built"The test email could not be built. Check the address it is sent to."
Daily limit reached"The mail provider’s daily sending limit for this account has been reached."

Sending a test email needs Workspace.Communications.Send: "Sending a test email needs the Workspace.Communications.Send access right. A workspace owner can grant it in Access Management."

Daily sending limits

Where a provider documents a daily limit, the open row shows a Daily limit line:

AccountDaily limit
A relay on smtp.gmail.com, smtp-relay.gmail.com or smtp.googlemail.com"Google Workspace allows 2,000 messages a day. Provider limits change; checked 2026-10-22."
A Microsoft 365 account sending from an onmicrosoft.com address"Microsoft 365 (an onmicrosoft.com tenant) allows 100 external recipients a day. The provider reports a send over the limit by a bounce after sending. Provider limits change; checked 2026-10-22."

Any other account shows no limit: OpenX never guesses one. When Google refuses a send for its daily limit, the send's answer and the window say "The mail provider’s daily sending limit for this account has been reached."

Remove an account

Remove checks first. If the account cannot be removed, the row says why and nothing opens. Otherwise a confirmation says what goes:

KindDeletedKeptStays yours
SMTP relay"Its settings in this workspace, and its relay password in your workspace’s own secret vault (the password moves to that vault’s deleted list).""One small settings file, without the password, in your landing zone’s data archive.""The relay and its mailbox at your provider, and every message already sent."
Personal Gmail"This account’s settings in this workspace, and its stored copy of the app password in your workspace’s own secret vault.""One small settings file, without any secret, in your landing zone’s data archive.""The mailbox and its mail, and the app password itself, which stays valid in your Google account until you delete it at myaccount.google.com/apppasswords."
IMAP mailbox"This account’s settings in this workspace, and its stored copy of the password in your workspace’s own secret vault.""One small settings file, without any secret, in your landing zone’s data archive.""The mailbox and its mail, and the password itself, which stays valid at your mail provider."

A Microsoft 365 account's removal also deletes the OpenX Mail application OpenX created: see Connect a Microsoft 365 Mailbox.

Every removal adds: "If this workspace’s audit trail is on, its send history stays there until that trail’s retention period ends; it is not removed with the account." Removing the last account that can send adds a warning, never a refusal: "This is the only account that can send, so sending from this workspace is refused until another account is connected." If Email Watches use the account, the confirmation lists them first, under Still attached.

Confirming stages the removal; nothing is deleted until the next Deploy. Until then the row is greyed, reads Removes on Deploy, still works, and offers only Restore.

Rights

ToYou need
Connect an account, or change its server, sign-in, password or sender addressTo be the workspace owner, or hold Workspace.Access.Manage
Rename an account, change its display name or description, or remove itNo right beyond being in the workspace
Test a relay, send a test email, or send from your own appWorkspace.Communications.Send

Connect and Edit settings stay visible to everyone; a save by anyone else is refused: "Only the workspace owner or someone with the 'Workspace.Access.Manage' right can connect a mail account or change its server, sign-in, password or sender address."

Thinky and agents

Thinky and agents can propose only an existing account's name, description and sender Display name. A proposal cannot create an account: "connecting an account creates an identity or stores a credential, which only a person does, in the Mail accounts list." An account's kind never changes. While a proposal waits, the list says so, for example "A proposal waits to change 1 mail account. It takes effect when a person accepts it.", and a proposed removal shows Removal proposed on its row. Accept proposals in Proposals.

Sending from your own app

Your own app sends with POST /ox-api/communications/send, which needs Workspace.Communications.Send. Name the account with AccountLookup. With none named, the workspace's only account that can send is used; with more than one, the send is refused with ACCOUNT_REQUIRED and lists them. POST /ox-api/communications/verify runs a relay's Test from code.

Every send that reaches a mail server answers in one shape:

FieldWhat it says
Outcomeok, unreachable, refused, auth-failed, rejected-recipient, transient or malformed
MessageA sentence written by OpenX, never the mail server's words
RetryableWhether sending the same request again can succeed
LimitReacheddaily-cap, only when the provider refused for its daily limit
RefusalsThe field-level refusals of a malformed send
AccountLookup, Provider, SenderAddressThe account used, its kind and the address sent as
IdempotencyKeyYour own key for the attempt, echoed
MessageID, ProviderMessageIDThe Message-ID OpenX minted (absent only for malformed), and the provider's own id when it has one
SentAtWhen the send was attempted
RecipientsOne entry per address, in request order: To or Cc, accepted, rejected or not-sent, and a reply code for a rejection
RecipientCount, AcceptedCount, RejectedCountThe counts
MessageHashOne hash of the whole message, which your app can compute on its own copy
AuditRecorded, AuditRecordID, AuditTrailWhether a send audit event was written, its id, and why not when Provenance is off

"Accepted" means the mail server took the message, never that it arrived.

When Provenance is on, each send is one audit event: who sent it, the account's settings without secrets, the counts, and the message only as its hash; never a recipient address, a subject, a body or a password. Anyone admitted to read the audit trail sees each send's username, how it was sent (Via), the account and the counts. When Provenance is off the send goes ahead and records nothing.

Messages you may see

Code or placeMessage
The relay form"A sender address is required.", "A relay host is required.", "A relay username is required." or "The relay credential is required.", each with its reason
COMMUNICATIONS_CONNECT_NOT_ALLOWED"Only the workspace owner or someone with the 'Workspace.Access.Manage' right can connect a mail account or change its server, sign-in, password or sender address."
PRIVATE_LANDING_ZONE_REQUIRED"This needs a private landing zone, which this workspace does not have yet."
DEPLOY_IN_PROGRESSA setup window or a Deploy is already running for the workspace. Wait for it to finish, then try again
A save that did not arrive"Could not reach the server. Nothing was saved."
A failed save"Save failed." with the platform's reasons, or "The relay could not be stored, and the platform did not report a reason."
ACCOUNT_REQUIREDA send named no account and the workspace has more than one that can send. Name one with AccountLookup
SEND_AUDIT_TRAIL_UNAVAILABLE"Provenance is set up for this workspace, but its audit trail can't be reached right now, so this email was not sent. Try again shortly; if it keeps happening, check the workspace's Provenance setup."

TIP

Communications connects mail accounts you already have. It is not for campaigns, templates or SMS, and it creates no new mail address.

Next steps

On fathym.com: OpenX communications →

On this page