Email — User Guide
Electric Monk email is powered by Stalwart Mail Server with authentication
through Authentik. Your email address is you@electricmonk.io.
Features
- Full email service — send and receive email with any standard client
- IMAP access on port 993 (SSL/TLS)
- SMTP submission on port 465 (SSL/TLS)
- JMAP — modern push-based email protocol (used by the webmail client)
- Web interface at mail.electricmonk.io
- Webmail at webmail.electricmonk.io (Bulwark — OAuth login)
- Sieve filters — server-side mail filtering rules (manageable via webmail)
- Autoconfig / Autodiscover — most desktop clients detect settings automatically
- Centralized login — uses your Authentik username and password
Quick Settings Reference
| Setting | Value |
|---|---|
| Server | mail.electricmonk.io |
| Username | Your Authentik username |
| Password | Your Authentik password |
| IMAP Port | 993 (SSL/TLS) |
| SMTP Port | 465 (SSL/TLS) |
Setting Up Email on iPhone / iPad
- Open Settings → Mail → Accounts → Add Account
- Tap Other → Add Mail Account
- Fill in:
- Name: Your display name
- Email:
you@electricmonk.io - Password: Your Authentik password
- Description: Electric Monk (or whatever you like)
- Tap Next — iOS may try to auto-detect settings. If it fails:
- Select IMAP (not POP)
- Under Incoming Mail Server:
- Host Name:
mail.electricmonk.io - User Name: Your Authentik username
- Password: Your Authentik password
- Host Name:
- Under Outgoing Mail Server:
- Host Name:
mail.electricmonk.io - User Name: Your Authentik username
- Password: Your Authentik password
- Host Name:
- Tap Next — iOS will verify the settings
- Toggle on Mail (and optionally Notes), then tap Save
Verifying SSL/TLS on iOS
After setup, go to Settings → Mail → Accounts → your account → Account → Advanced:
- Use SSL: ON (for both incoming and outgoing)
- IMAP port:
993 - SMTP port:
465 - Authentication: Password
Setting Up Email on macOS Mail
- Open Mail → Settings → Accounts → click +
- Select Other Mail Account → Continue
- Enter your name, email (
you@electricmonk.io), and Authentik password - macOS may auto-detect settings. If prompted for manual config:
- Account Type: IMAP
- Incoming:
mail.electricmonk.ioport993SSL - Outgoing:
mail.electricmonk.ioport465SSL
Setting Up Email on Thunderbird
- Add Account → enter name, email, password
- Thunderbird will try autoconfig — settings should be detected automatically
- If manual config is needed, enter the settings from the Quick Reference above
- Authentication method: Normal password
Setting Up Email on Android
- Open your mail app (Gmail, K-9 Mail, FairEmail, etc.)
- Add Account → Other / IMAP
- Enter
you@electricmonk.ioand your Authentik password - Incoming:
mail.electricmonk.io, port993, security SSL/TLS - Outgoing:
mail.electricmonk.io, port465, security SSL/TLS
Using the Webmail
Two web interfaces are available:
- Stalwart Web UI: https://mail.electricmonk.io — log in with Authentik credentials
- Bulwark Webmail: https://webmail.electricmonk.io — uses OAuth (click "Sign in", authenticate with Authentik)
The Bulwark webmail supports Sieve filter management and password changes through Stalwart.
App Passwords
If a client or automation tool doesn't support your Authentik password directly
(e.g., some older SMTP relay scripts), app-specific passwords can be created.
Contact an administrator to generate one using the manage-app-passwords.sh script.
How Authentication Works
Your email credentials are your Authentik credentials — the same username and password you use for all Electric Monk services. Stalwart authenticates against Authentik's LDAP directory in real time:
- You enter your username/email and password in your mail client
- Stalwart searches the Authentik LDAP directory for your account
- Stalwart verifies your password by binding to LDAP as you
- If successful, you're authenticated — no separate email password needed
This means if you change your Authentik password, your email password changes too.
How Encryption Works (TLS)
All connections to mail.electricmonk.io are encrypted:
Your device (TLS) ──→ Traefik (terminates TLS) ──→ Stalwart (internal network)
- IMAP (port 993): TLS is established immediately on connection
- SMTP (port 465): TLS is established immediately on connection (implicit TLS)
- HTTPS/JMAP (port 443): Standard HTTPS
The TLS certificate is a wildcard cert for *.electricmonk.io managed by
Let's Encrypt. You should never see certificate warnings.
Note: Do not use port 587 with STARTTLS — it is not exposed externally. Always use port 465 with implicit SSL/TLS.
Troubleshooting
"Authentication failed"
- Verify your Authentik credentials work at auth.electricmonk.io
- Make sure you're using your username, not your email, if they differ
- Check that your account is active in Authentik
"Cannot connect to server"
- Ensure you're using
mail.electricmonk.io(not any other hostname) - IMAP must be port
993with SSL/TLS (not STARTTLS) - SMTP must be port
465with SSL/TLS (not port 587)
Emails not sending
- Confirm outgoing server is
mail.electricmonk.ioon port465 - Verify authentication is enabled for the outgoing server
- Check that your "From" address matches your actual email address
Email Aliases
- We support email aliases, but they need to be managed by an administrator. Please reach out for support.