kurrier
Configuring Providers

SMTP/IMAP

Setting up SMTP/IMAP

SMTP / IMAP

Kurrier supports connecting to any standard SMTP and IMAP server — letting you send and receive emails through your own mail host.

This option is perfect if you already have an email account with a provider such as Gmail (App Password), Outlook, Zoho, Proton, or a custom domain managed through cPanel or another hosting provider.


1. Overview

When you add an SMTP/IMAP account in Kurrier, two connections are created:

  • SMTP (Simple Mail Transfer Protocol) — used to send emails
  • IMAP (Internet Message Access Protocol) — used to receive and sync incoming emails

You can configure only SMTP (for outbound mail) or both SMTP + IMAP (for full two-way sync).


2. Adding Your Account

In Kurrier, go to:

Dashboard → Providers → Add Provider → SMTP/IMAP

You’ll see the following fields:

FieldDescriptionExample
Account LabelA friendly name for this connectionWork Email
SMTP HostOutgoing mail server hostnamesmtp.gmail.com
SMTP PortUsually 465 for SSL or 587 for STARTTLS587
SMTP UsernameYour full email address or usernameyou@yourdomain.com
SMTP PasswordApp password or login password********
SMTP SecureChoose TRUE for SSL/TLSTRUE
SMTP PoolOptional — leave FALSE unless you know you need pooled connectionsFALSE
IMAP HostIncoming mail server (optional)imap.gmail.com
IMAP PortUsually 993 for SSL993
IMAP UsernameYour full email address or usernameyou@yourdomain.com
IMAP PasswordPassword or app password********
IMAP SecureChoose TRUE for SSL/TLSTRUE

3. Example Configurations

Gmail (App Password)

⚠️ Requires 2-Step Verification and an App Password

SettingValue
SMTP Hostsmtp.gmail.com
SMTP Port465 (SSL)
SMTP SecureTRUE
IMAP Hostimap.gmail.com
IMAP Port993 (SSL)
IMAP SecureTRUE

Use your Gmail address for both username fields and the 16-character app password for both passwords.


Outlook / Office 365

SettingValue
SMTP Hostsmtp.office365.com
SMTP Port587 (STARTTLS)
SMTP SecureTRUE
IMAP Hostoutlook.office365.com
IMAP Port993
IMAP SecureTRUE

Username is usually your full email address.


cPanel / Custom Domain

SettingValue
SMTP Hostmail.yourdomain.com
SMTP Port465 (SSL) or 587 (TLS)
IMAP Hostmail.yourdomain.com
IMAP Port993
SecureTRUE for both

Contact your web host if you’re unsure of these values.


4. Security Options

FieldDescription
SMTP SecureEnables SSL/TLS encryption for outgoing mail. Set to TRUE unless your server requires plain STARTTLS.
SMTP PoolAllows reusing SMTP connections for faster bulk sending. Leave FALSE unless you’re running large workloads.
IMAP SecureEnables SSL/TLS encryption for incoming mail. Always set to TRUE unless debugging local servers.

5. Verification & Troubleshooting

Once you click Save, Kurrier will test your connection automatically.

✅ Success

You’ll see a Verified badge next to your new provider.

⚠️ Common Errors

ErrorMeaningFix
Invalid login or passwordWrong credentials or app passwordDouble-check username/password
Connection refusedWrong port or SSL settingTry switching SMTP Secure or check your host’s SSL port
IMAP timeoutIMAP disabled on the accountEnable IMAP (e.g. in Gmail settings)
Hostname mismatchWrong IMAP/SMTP hostnameUse provider’s documented host name

6. Best Practices

  • Use App Passwords when available — never your real login password.
  • Always use secure ports (465/993) with SSL.
  • Avoid shared or root email credentials.
  • For hosted domains, create dedicated mailbox users for Kurrier.

7. Notes for Self-Hosted Mail Servers

If you’re connecting to your own mail server (e.g., Postfix/Dovecot):

  1. Ensure smtpd_tls_security_level = may or higher in Postfix.
  2. IMAP must listen on port 993 with ssl = yes.
  3. You may need to allow Kurrier’s IP or internal Docker network.

Tip: You can create multiple SMTP/IMAP accounts in Kurrier — one for each mailbox or domain you manage.