Connecting Mailboxes & Import
Connect Gmail, Outlook, NetEase 163, QQ, LarkSuite, iCloud, custom IMAP/SMTP, or managed domain mailboxes.
Open Settings (⌘K → Settings → Accounts) or click Add Account in the left sidebar to connect multiple email accounts into a unified inbox.
Connection Methods
| Method | Supported Providers | Notes |
|---|---|---|
OAuth 2.0 (XOAUTH2) | Google (Gmail / Workspace), Microsoft (Outlook / Microsoft 365) | One-click authorization when enabled in /admin/security. Refresh tokens are encrypted via KeyRing and rotated under distributed Valkey locks. |
| Built-In Presets | Gmail, Outlook, LarkSuite, QQ Mail, NetEase 163 Mail, iCloud Mail | Pre-fills TLS/STARTTLS ports (993, 465, 587) and server_saves_sent behavior. Always generate an app-specific password or client authorization code when 2FA is active. |
| Custom IMAP/SMTP | Fastmail, Migadu, Purelymail, Poste.io, Dovecot/Postfix, Proton Bridge (LAN in self_hosted) | Supports implicit TLS and STARTTLS. Protected against SSRF and DNS rebinding by netguard. |
| Managed Domain Mailboxes | Domains hosted on /admin/mailserver (Stalwart v1.2.1) | Self-claim an @your-domain.example address directly inside Add Account when self_claim domains are enabled. |
Troubleshooting NetEase 163 / 126 Mail (Unsafe Login)
NetEase Coremail allows IMAP LOGIN and SMTP submission while blocking SELECT INBOX if security checks trigger. In 163 webmail Settings → POP3/SMTP/IMAP:
- Enable IMAP/SMTP and use the generated Client Authorization Password (never your web login password);
- Change Sync Range from Last 30 days to All;
- If
Unsafe Loginappears on the sidebar warning badge, approve the new server IP inside NetEase Security Center.
Signatures, Relay Aliases & Archive Import
- Per-Account Profiles: Customize display names, color badges, HTML/plain-text signatures,
Send-Asaliases, and Undo Send buffer (0–60seconds, default8s). - SimpleLogin & Addy.io: Save your relay API key under Settings → Accounts to mint disposable privacy aliases inside the composer.
- Historical Archive Import (
POST /api/v1/account/import): Upload.eml,.mbox, or.ziparchives (<= 256 MiB, up to2,000messages per upload) with automatic SHA-256 attachment deduplication.