Connecting a mailbox
SwiftBox connects to your existing mailbox using two standard protocols: IMAP to read your mail and SMTP to send it. To add an account you'll need your email address, a password (often a special app password — see below), and your provider's IMAP and SMTP server names and ports. Pick your provider below for the exact values.
What goes in each field
- Display Name
- A label just for you, e.g. "Work" or "Support". Shown in the sidebar.
- Reply-To (optional)
- Where replies should go if that's a different address than the one you send from. Leave blank if unsure.
- Email Address
- The full address of the mailbox, e.g.
you@company.com. This is also your username for most providers. - Password
- Your mailbox password — or, for Gmail / Google Workspace / Microsoft 365, an app password (not your normal sign-in password).
- IMAP Server & Port
- The incoming-mail server (for reading). Almost always port
993. - SMTP Server & Port
- The outgoing-mail server (for sending). Usually port
465or587. - Signature (optional)
- HTML added to the bottom of messages you send, e.g.
<p>Best regards,<br><b>Jane</b></p>.
What is an "app password"?
Google and Microsoft block apps from signing in with your regular password when two-factor authentication is on. Instead you generate a one-off app password — a long string tied to a single app — and paste that into the Password field here. You can revoke it at any time from your account's security settings without changing your main password.
Gmail (personal @gmail.com)
| IMAP server | imap.gmail.com · port 993 |
| SMTP server | smtp.gmail.com · port 465 |
| Password | 16-character app password |
- Turn on 2-Step Verification at myaccount.google.com → Security.
- Under Security, open App passwords, create one for "Mail", and copy the 16-character code.
- In Gmail, check Settings → Forwarding and POP/IMAP → Enable IMAP is on.
- Back in SwiftBox, use your Gmail address and paste the app password.
Google Workspace (Gmail on your own domain)
| IMAP server | imap.gmail.com · port 993 |
| SMTP server | smtp.gmail.com · port 465 |
| Password | App password (if allowed by your admin) |
The servers are the same as personal Gmail, but a Workspace account is controlled by your organization's administrator, so two extra things must be allowed:
- IMAP access must be enabled for your account (Admin console → Apps → Gmail → End User Access).
- App passwords must be permitted, which usually means 2-Step Verification is enabled for your account.
If either is switched off you'll see a sign-in error — ask your Google Workspace administrator to enable them.
Microsoft 365 / Outlook (work or school)
| IMAP server | outlook.office365.com · port 993 |
| SMTP server | smtp.office365.com · port 587 |
| Password | App password (if multi-factor auth is on) |
Microsoft turns off basic IMAP/SMTP sign-in by default on many tenants, so this one often needs an administrator's help:
- Your admin must enable IMAP and Authenticated SMTP for the mailbox (Microsoft 365 admin center → Users → Mail → Manage email apps).
- If multi-factor authentication is on, create an app password and use it here instead of your normal password.
Personal @outlook.com / @hotmail.com accounts use IMAP outlook.office365.com and SMTP smtp-mail.outlook.com.
Other providers (Hostinger, cPanel, Zoho, etc.)
Most hosting and email providers publish their IMAP/SMTP settings under a page titled "Email client setup", "IMAP settings" or similar. Use the mailbox's own password — app passwords usually aren't needed. Typical values look like:
| IMAP server | imap.yourhost.com · port 993 |
| SMTP server | smtp.yourhost.com · port 465 |
Can't connect? It may be an admin setting
If you don't manage your own domain (a work or school account), IMAP access, outgoing SMTP, or app passwords may be turned off at the organization level. When that's the case SwiftBox simply can't connect until someone enables them.
- "Authentication failed" / invalid credentials — you likely need an app password, or IMAP isn't enabled for your account.
- "Connection refused" / timeout — double-check the server name and port.
- Everything looks right but still fails — ask your IT administrator or email provider to enable IMAP and authenticated SMTP for your mailbox.
Your credentials are used only to connect SwiftBox to your mailbox. Return to SwiftBox →