For administrators
How the platform sends mail, and the one verified domain published apps may send from.
What this is
One mail transport carries every mail: the platform's own (approvals, access requests) and the mail published apps ask it to send. You choose the transport here, the sender address, and the one domain apps may send from.
Without a working transport every mail is written to the log instead of being sent. That is fine for a trial, not for the day an app asks its owner to approve something.
Where to find it
- Open Admin.
- Click the card Notifications, then Email.
What you see
The test card at the top: an address box with the placeholder "To: your own address", the button Send a test mail, and a line that says "Connects to the mail server, logs in and sends one mail with the saved settings." While you have unsaved edits the button is greyed out and the line says "Save first: the test uses the saved values."
The settings, shown by default:
- How mail is sent: choose Resend: an API key from resend.com or SMTP: a mail server you already have (Microsoft 365, Google Workspace, Postfix, …). The sender below has to be one the transport is allowed to send as.
- Resend API key (Resend only): without it every mail is written to the log instead of sent.
- SMTP server (SMTP only): the host name of the mail server, for example
smtp.example.com. Without it every mail is written to the log. - SMTP port (SMTP only):
587for submission with STARTTLS,465for TLS from the first byte. Port 25 is usually blocked for outbound mail. - SMTP user name (SMTP only): usually the mailbox address. Empty for a relay that trusts this server by its address and asks for no login.
- SMTP password (SMTP only): for Microsoft 365 or Google Workspace with two-step sign-in, use an app password rather than the account's own.
- The platform sends as: a sender the transport may send as, a verified sender in Resend or an address the SMTP account owns. Write it as
Acme apps <no-reply@example.com>. Its bare address is also what the coding agent commits as. - Domain published apps may send from: one verified domain, for example
example.com. Apps ask the platform, which sends from this domain. They choose the part before the@(such asreports@…), never the domain. Empty means apps cannot send.
Only the fields of the chosen transport show. Behind Show N rarely-used:
- SMTP encryption (SMTP only): Automatic (TLS on port 465, otherwise STARTTLS whenever the server offers it), TLS from the first byte, STARTTLS, and refuse to send if the server does not offer it, or None: only for a relay on the same trusted network. Automatic suits almost every server. The certificate is always checked.
- Mails one app may send per day:
0means none at all. - Recipients per mail: the ceiling that keeps an app from turning into a mailing list.
At the bottom: Save (Save N changes once you edit something), Discard, and Show N rarely-used.
How to set up Resend
- At resend.com, verify the domain you send from and create an API key.
- Open Email. Under How mail is sent, choose Resend.
- Paste the key in Resend API key.
- Fill in The platform sends as with a verified sender, and Domain published apps may send from with the verified domain.
- Click Save, then test it.
How to set up SMTP
- Get the server name, the port, and a mailbox or relay that may send as your chosen sender. For Microsoft 365 or Google Workspace with two-step sign-in, create an app password.
- Open Email. Under How mail is sent, choose SMTP.
- Fill in SMTP server, SMTP port, SMTP user name and SMTP password. Change SMTP encryption only if the server needs it.
- Fill in The platform sends as and Domain published apps may send from.
- Click Save, then test it.
How to test that mail goes out
- Save your settings first. The test uses the saved values.
- Type your own address in the box and click Send a test mail. The button reads Sending… while it works.
- A green message says "Mail goes out: a test mail is on its way to" your address, with a table of the steps, each marked ok.
When something looks wrong
- "Mail does not go out yet. The first failing step below says why.": read the table. Steps are marked ok, fails or not tested, with a note on each. Fix the first one that fails, save, and test again.
- A test result disappears when you edit or save: it described the old values. Run it again.
- Refused: … under a field after saving: the value was not accepted. The text says why.
Good to know
- Only administrators can change this page.
- An app cannot send until Domain published apps may send from is filled in. Owners find the app side on the Email page of their app.
- One transport carries every mail, the platform's and the apps', so a change here affects both.