Setting up Mail Servers
Before ZeyOS can send or receive emails, you need to connect at least one mail account. This is done in Control Center → Servers by adding an IMAP/SMTP server profile. Once connected, the account appears as a mailbox in your Inbox and can be used as the sender for Mailing Lists.
Each email address you want to use in ZeyOS needs its own server profile. A single profile covers both incoming mail (IMAP) and outgoing mail (SMTP).
Before You Start
You will need the following information from your email provider or IT administrator:
| Setting | Example |
|---|---|
| Incoming mail server (IMAP) | imap.gmail.com |
| Incoming port | 993 (SSL) or 143 (STARTTLS) |
| Outgoing mail server (SMTP) | smtp.gmail.com |
| Outgoing port | 465 (SSL) or 587 (STARTTLS) |
| Username | Your full email address |
| Password | Your email password or app password |
If your account uses two-factor authentication, most providers require you to generate a dedicated app password instead of your regular login password. Check your provider's documentation for instructions.
Adding a Mail Server
- Open Control Center from the top navigation bar (the gear icon).
- Click Servers in the left sidebar.
- Click Add Server and select Mail.
Incoming Mail (IMAP)
Fill in the IMAP section:
| Field | Description |
|---|---|
| Name | A label for this account, e.g. "Sales Inbox" or "Support". |
| Host | The IMAP server hostname, e.g. imap.gmail.com. |
| Port | Typically 993 for SSL/TLS or 143 for STARTTLS. |
| Encryption | Select SSL/TLS or STARTTLS depending on your provider. |
| Username | Usually your full email address. |
| Password | Your email or app password. |
Outgoing Mail (SMTP)
Fill in the SMTP section below the IMAP fields:
| Field | Description |
|---|---|
| Host | The SMTP server hostname, e.g. smtp.gmail.com. |
| Port | Typically 465 for SSL/TLS or 587 for STARTTLS. |
| Encryption | Select SSL/TLS or STARTTLS. |
| Username | Usually the same as your IMAP username. |
| Password | Usually the same as your IMAP password. |
Saving and Testing
Click Save. ZeyOS will immediately attempt to verify the connection. If the connection fails, double-check the host, port, and credentials. A green status indicator confirms a successful connection.
Setting a Default Mail Account
If you have multiple mail accounts configured, you can designate one as the default. The default account is used automatically when sending messages unless you manually select a different sender.
To set a default:
- Open the server profile.
- Enable the Default toggle.
- Save.
Only one account can be the default at a time. Setting a new default automatically removes the flag from the previous one.
Common Providers
Gmail
| Setting | Value |
|---|---|
| IMAP host | imap.gmail.com |
| IMAP port | 993 (SSL/TLS) |
| SMTP host | smtp.gmail.com |
| SMTP port | 465 (SSL/TLS) or 587 (STARTTLS) |
| Username | Your Gmail address |
| Password | App password (requires 2FA enabled in Google account) |
Enable IMAP in Gmail: Gmail Settings → See all settings → Forwarding and POP/IMAP → Enable IMAP.
Microsoft 365 / Outlook
| Setting | Value |
|---|---|
| IMAP host | outlook.office365.com |
| IMAP port | 993 (SSL/TLS) |
| SMTP host | smtp.office365.com |
| SMTP port | 587 (STARTTLS) |
| Username | Your Microsoft 365 email address |
| Password | App password or regular password (depends on tenant settings) |
Generic / Self-hosted
Contact your mail administrator for the exact hostnames and ports. Common patterns:
- IMAP:
mail.yourdomain.com:993(SSL) ormail.yourdomain.com:143(STARTTLS) - SMTP:
mail.yourdomain.com:465(SSL) ormail.yourdomain.com:587(STARTTLS)
Troubleshooting
| Problem | Likely Cause | Solution |
|---|---|---|
| Connection refused | Wrong port or host | Verify host and port with your provider |
| Authentication failed | Wrong password | Check for app-password requirement; regenerate if needed |
| SSL error | Encryption mismatch | Try switching between SSL/TLS and STARTTLS |
| Emails not arriving | IMAP not enabled | Enable IMAP in your mail provider's settings |
| Cannot send | SMTP blocked | Some ISPs block port 25/465 — try port 587 |
Related Topics
- Using the Inbox — Sending and receiving messages once the server is configured
- Managing Mailing Lists — Choose which configured mail account is used as the sender for bulk mailings
- Control Center: Servers — Full technical reference for all server types (Mail, DAV, Feed)