Open standards & developer reference
No proprietary anything.
Compact speaks the published IETF protocols mail and identity already run on—so any standard client can read it and any provider can import it. Every port, DNS record and endpoint is documented below, alongside what isn’t exposed yet.
- IMAP4rev1 RFC 3501
- SMTP RFC 5321
- JMAP RFC 8620
- Sieve RFC 5228
- JMAP Sieve RFC 9661
- iCalendar RFC 5545
- vCard RFC 6350
- DKIM RFC 6376
- SPF RFC 7208
- DMARC RFC 7489
- MTA-STS RFC 8461
- TLS-RPT RFC 8460
- OIDC PKCE S256
- SCIM 2.0 RFC 7644
Protocols and ports
Server hostnames are published in your domain’s autoconfig and SRV records and shown in Settings. Every listener requires TLS; plain-text authentication does not exist.
| Protocol | Spec | Port | Security | Used for |
|---|---|---|---|---|
| IMAP | RFC 3501 | 993 | Implicit TLS | Read mail in any mail app. Folders, flags and dates match the web app. |
| SMTP submission | RFC 6409 | 465 | Implicit TLS | Send from mail apps. Outbound mail is DKIM-signed (Ed25519 + RSA). |
| SMTP (inbound) | RFC 5321 | 25 | STARTTLS | Where external servers deliver mail via your domain’s MX record. |
| HTTPS | TLS 1.3 + HSTS | 443 | TLS + HSTS | The web app, workspace admin console, OIDC callbacks and SCIM 2.0. |
Mail app sign-in
- Username
- The full email address on your verified workspace domain.
- Password
- The account password, or a dedicated app password. With two-step sign-in enabled, only app passwords work in external mail apps.
- SSO-only workspaces
- Mail apps authenticate with app passwords; minting one requires a fresh confirmation with your identity provider (within 10 minutes).
- Revocation
- Every app password is revoked independently in Settings › App passwords. Suspending an account cuts sessions and all app passwords at once.
Client guides: Apple Mail, Outlook, Thunderbird, iPhone and iPad and Android.
The DNS records we publish
The admin console generates exact values for your domain and queries your authoritative nameservers directly—reporting found, missing or conflicting records without waiting on stale caches.
| Type | Name | Purpose | Requirement |
|---|---|---|---|
| TXT | _fllare-verify | Ownership proof (fllare-verification=<token>) | Required |
| MX | @ | Delivers inbound mail to the workspace | Required |
| TXT | @ | SPF policy, merged cleanly into any existing record | Required |
| TXT | <selector>._domainkey | Dual DKIM keys (Ed25519 + 2048-bit RSA) | Required |
| TXT | _dmarc | DMARC p=none, aggregate reports routed to dmarc@yourdomain | Required |
| CNAME + TXT | mta-sts, _mta-sts | MTA-STS policy (published in testing mode) | Recommended |
| TXT | _smtp._tls | SMTP TLS reporting (RFC 8460) | Recommended |
| CNAME / SRV | autoconfig, autodiscover, _imaps._tcp, _submissions._tcp | Zero-guess client server discovery | Recommended |
Single sign-on (OpenID Connect)
- Redirect URI
- https://mail.runcompact.com/app/api/v1/auth/sso/callback
- Grant & PKCE
- Authorization Code with PKCE (S256), single-use browser-bound state, cryptographic nonce
- Token checks
- JWKS signature verification, issuer, audience, authorized party (azp), expiry and nonce
- Microsoft Entra ID
- Multi-tenant app support; workspace pins its exact tenant ID; personal Microsoft accounts refused
- Google Workspace
- email_verified must be true and hd claim must match your verified Workspace domain
- Custom OIDC
- Issuer discovery URL, client ID and ChaCha20-Poly1305 sealed secret; email and name claims configurable
Setup guides: Microsoft Entra ID, Google Workspace, any OpenID Connect provider.
SCIM 2.0
Provision and suspend accounts straight from your identity provider. Bearer tokens are minted in Admin › Security, shown once, and stored only as hashes. Microsoft Entra ID and Okta payload quirks are handled natively.
| Method | Path | Behaviour |
|---|---|---|
| GET | /scim/v2/ServiceProviderConfig | Advertised SCIM 2.0 capabilities & auth schemes |
| GET | /scim/v2/ResourceTypes · /Schemas | Resource & schema discovery |
| POST | /scim/v2/Users | Provision a mailbox (userName = address on a verified domain) |
| GET | /scim/v2/Users?filter=userName eq "…" | Query users; also supports externalId eq and paging up to 200 |
| PUT · PATCH | /scim/v2/Users/{id} | Update profile or active state (active:false suspends immediately) |
| DELETE | /scim/v2/Users/{id} | Suspend and hide account; existing mail archive is preserved |
| POST · PATCH · DELETE | /scim/v2/Groups | Provisioned SCIM groups map directly to shared mailboxes |
Rules and Sieve
Inbox rules authored in the web app compile into a standard Sieve script (RFC 5228) and deploy via JMAP for Sieve (RFC 9661). Because filtering executes at delivery time on the mail server, every IMAP and mobile app sees the sorted result immediately, and vacation replies run alongside rules without conflict.
require ["fileinto", "imap4flags"];
# Compiled by Compact Mail — runs before any client connects
if address :domain :is "from" "billing-partner.example" {
fileinto "Finance";
addflag "$Important";
} 07Not exposed yet
explicit boundaries- CalDAV and CardDAV. Calendars and contacts live in the web app today. Move them in and out with standard .ics and .vcf files.
- A public third-party JMAP endpoint. JMAP powers the web app over the gateway’s authenticated session, rather than an external bearer-token endpoint.
- A general admin REST API and webhooks. Workspace automation runs through the admin console and SCIM 2.0 provisioning.
- SAML 2.0. Single sign-on speaks OpenID Connect (supported natively by Microsoft Entra ID, Google Workspace, Okta, JumpCloud and Ping).
The stack
- Web app Desktop and dedicated phone layouts
- Mail apps Apple Mail, Outlook, Thunderbird over IMAPS & SMTPS
- Every other calendar Invitations as standard iCalendar email
- Mail Split inbox · Sieve
- Calendar Week · Month · iMIP
- Contacts Company directory
- Files 15 GB · Previews
- Admin console Domains · People
- Assistant Cited docs · Live DNS
- Sessions HttpOnly · No browser password
- Two-step sign-in TOTP · Recovery codes
- SSO Entra ID · Google · OIDC
- SCIM 2.0 RFC 7644 provisioning
- App passwords Per-device revocable
- Audit log Append-only SQL
- One front door for every request Workspace isolation, CSRF, ChaCha20-Poly1305 secret sealing, rate limits, IMAP import and authoritative DNS workers
- Pinned to an exact digest Upgrades pass a 13-group contract test suite first
- Spoken to over standard protocols only Swappable engine adapter: coming
- JMAP · RFC 8620
- IMAP · 993
- SMTP · 465
- iCalendar · RFC 5545
- vCard · RFC 6350
- Sieve · RFC 5228
- DKIM · Ed25519
- SPF · RFC 7208
- DMARC · RFC 7489
- MTA-STS · RFC 8461
Built so you could leave tomorrow.
Standard IMAP, SMTP, vCard and iCalendar mean your company’s archive is never trapped behind a proprietary API.