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 full email address (e.g. you@electricmonk.io) |
| Password | Your Authentik password |
| IMAP Port | 993 (SSL/TLS) |
| SMTP Port | 465 (SSL/TLS) |
CRITICAL: Use your full email address as the username. Do not use your bare Authentik username (e.g. just
chris). All mail clients — Thunderbird, Outlook, iPhone, Android, etc. — require the full email address. The same rule applies to Bulwark webmail.
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 full email address (e.g.
you@electricmonk.io) - Password: Your Authentik password
- Host Name:
- Under Outgoing Mail Server:
- Host Name:
mail.electricmonk.io - User Name: Your full email address
- 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 — both use your regular Authentik password, but they log in differently:
- Bulwark Webmail: https://webmail.electricmonk.io — click "Sign in" to authenticate via OAuth (you stay on the Bulwark page, not redirected to Authentik)
- Stalwart Web UI: https://mail.electricmonk.io/account/ — your account portal for Sieve filters, app passwords, and settings
Logging In to Bulwark Webmail
- Go to https://webmail.electricmonk.io
- Click Sign in — a login form appears on the Bulwark page (you are not redirected to the Authentik login page)
- Username: your full email address —
you@electricmonk.io, not justyou - Password: your regular Authentik/SSO password — the same one you use for every other Electric Monk service
- Submit, and you'll be returned to your inbox
The username must be the full email address. A bare username will not log you in. Any of your aliases will also work as the login address.
Bulwark uses the same password as Authentik. There is no separate webmail password. If your SSO password changes, use the new one here.
Logging In to Stalwart Web UI
- Go to https://mail.electricmonk.io/account/
- Username: your full email address
- Password: your regular Authentik/SSO password
- Submit to access your account settings (Sieve filters, app passwords, etc.)
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.
Webmail takes the same path with one extra hop: Bulwark hands you off to Stalwart's single sign-on, and Stalwart checks your password against Authentik. There is no separate webmail account.
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
- Use your full email address as the username — for webmail this is required, and for mail clients it is the safest choice
- 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.
FAQ — Common Login Problems
What username do I use to log in?
Always use your full email address (e.g. you@electricmonk.io). Do not use your bare Authentik username (e.g. just chris). This applies to:
- All mail clients (Thunderbird, Outlook, iPhone, Android, etc.)
- Bulwark webmail (webmail.electricmonk.io)
- Stalwart web UI (mail.electricmonk.io/account/)
Any of your email aliases will work as the login address.
What password do I use?
Your Authentik/SSO password — the same one you use for every other Electric Monk service. There is no separate email or webmail password. If your SSO password changes, use the new one for email too.
Does Bulwark webmail use the Authentik login page?
No. When you click "Sign in" on Bulwark, the login form appears directly on the Bulwark page — you are not redirected to the Authentik portal. You still use your Authentik password, but the login happens within Bulwark via OAuth.
I entered my Authentik username and it won't accept it
That's the most common issue. The server needs your full email address, not just your username. Enter you@electricmonk.io as the username.
I can log in to Authentik but not to email
- Make sure you're using your full email address as the username (not just your username)
- Verify your Authentik password works at auth.electricmonk.io
- Check that your account is active in Authentik