Learn

E-mail

E-mail settings

The gateway sends e-mail for user invitations (and in future for other notifications). Set up the e-mail server on the E-mail page before inviting users.

Standard SMTP

Enter:

  • Server and port (e.g. smtp.example.com, port 587)
  • Security: STARTTLS (port 587), TLS from the start (port 465), or None (only for a local relay)
  • Account (user name) and password (stored encrypted, never shown again)
  • Sender address (the From address)
  • Admin UI address (used in links in invitation e-mails)

Click Send a test e-mail to verify the settings. The gateway shows the server's answer in plain words if something is wrong.

Microsoft 365 with an app (Microsoft Graph)

Microsoft 365 usually blocks SMTP sign-in with a password (security defaults). Use Microsoft 365 with an app instead.

E-mail through Microsoft 365

Steps:

  1. In the Microsoft Entra admin center, create a new app registration:
    • Under API permissions, add Microsoft Graph → Application permission → Mail.Send → grant admin consent.
    • Note the Application (client) ID and the Directory (tenant) ID.
  2. On the E-mail page, choose Microsoft 365 with an app, enter the tenant ID, application ID and sender mailbox.
  3. Choose authentication:
    • Certificate (recommended): click Make a certificate to generate one on the gateway; download the .cer and upload it to the app under Certificates & secrets. The private key never leaves the gateway.
    • Client secret: paste the secret from the app. Enter the expiry date so the dashboard warns you in advance.
  4. Click Send a test e-mail to verify.

The gateway shows Entra ID's refusals in plain words (wrong IDs, missing permission, certificate not uploaded, unknown mailbox).

Limits

  • One receiver per message
  • At most 30 e-mails per hour
  • A 30-second timeout with one retry after a connection failure
  • Every e-mail is in the audit log (receiver and subject, never the body)