Skip to content
xaweho

Knowledge base · basic

Setting up the stock Android mail app (Samsung, Google, Pixel)

Connect the preinstalled mail app from Samsung, Google and other Android makers to Mailcow — via IMAP/SMTP, with calendar and contacts over CalDAV/CardDAV.

basic ·
For:User

Every Android maker ships its own mail app. Samsung “Email”, Google Pixel “Gmail” (see Gmail app), Xiaomi/Huawei/OnePlus their own variants. Functionally they’re similar — all speak IMAP/SMTP, and that’s the way to go with us. Calendar and contacts run separately over CalDAV/CardDAV (more on that below).

The UIs differ quite a bit though. We show the setup for Samsung “Email” and Google Pixel — other makers work analogously.

Samsung Email app

Setting up the account

  1. Open Samsung Email.
  2. On first start: account setup. Otherwise: three bars → Settings → Add account.
  3. Pick Other as the account type (not Exchange — we don’t offer that).
  4. Enter email and password.
  5. Sign in (for automatic configuration) or Manual setup.

IMAP

Manual configuration:

Field Value
IMAP server mx2.xaweho-host.de
Security type SSL/TLS
Port 993
Username full mail address
Password mailbox / app password
SMTP server mx2.xaweho-host.de
SMTP security type TLS / STARTTLS
SMTP port 587
Require sign-in enabled

This applies to Mailhosting and Postfach. With your own Mail Server, use the server name of your own instance instead — it’s in your activation email and in the customer center.

If 2FA is active, you need an app password with IMAP and SMTP enabled.

Getting new mail immediately

Straight talk: there’s no Exchange push with us. What there is: IMAP IDLE — the app keeps an open connection to the server, and new mail arrives practically immediately. Samsung Email polls IMAP accounts at intervals by default; set Settings → Account → Sync schedule to Push and the app uses IDLE.

Google Pixel and stock Android

On Pixel devices the default app is Gmail. Setup: see Gmail app for your own mail address.

Other Android makers (Xiaomi, OnePlus, Huawei)

The preinstalled mail apps of other makers follow a similar pattern:

  1. Open the app → Other mail account.
  2. Configure manually.
  3. Enter the IMAP data (as above).

UI details differ, server data is identical.

Calendar and contacts: DAVx⁵

The makers’ mail apps only sync mail. Calendar, contacts and tasks come from SOGo via CalDAV/CardDAV — on Android for example with DAVx⁵ (on F-Droid and Google Play):

  1. Open DAVx⁵ → Add account.
  2. URL: https://mx2.xaweho-host.de/SOGo/dav/<your-mail-address>/ — DAVx⁵ discovers calendars and address books automatically.
  3. Sign in with your full mail address and password (with 2FA active: app password).

With the Mail Server, replace mx2.xaweho-host.de with the server name of your own instance (it’s in your activation email and in the customer center).

After that, the phone’s calendar and contacts apps show the data directly. Details: SOGo calendar and SOGo contacts.

Which app should I take?

Need Recommendation
Open source, privacy first K-9 / Thunderbird for Android + DAVx⁵
Install nothing, take what’s there Samsung Email (or the maker’s stock app) via IMAP
Used to the Gmail UI, no Google routing Gmail app with “configure manually”
Microsoft look Outlook app, careful about cloud routing
Calendar and contacts on top DAVx⁵ alongside the mail app (CalDAV/CardDAV)

Frequently asked questions

Which app is best on Samsung devices? That depends on your taste: Samsung Email comes preinstalled, K-9 / Thunderbird for Android is open source.

Are multiple accounts in one app supported? With all the apps mentioned: yes.

Where do I see mail logs on Android? Not directly in the app. If you have to debug deeper: switch to a mail client on a computer (Outlook, Thunderbird) and look at the logs there.

Battery optimization kills my mail sync Some Android makers (Xiaomi, Huawei) restrict background processes heavily by default — that also kills the IMAP IDLE connection. Solution: Settings → Apps → <your mail app> → Battery → Don’t optimize.

New mail only arrives every 15 minutes. The app is polling instead of using IDLE. Set the account’s sync setting to Push (see above) and turn off battery optimization for the app.

Can Mailcow remote-wipe my device? No. With IMAP/SMTP the server gets no rights on your device whatsoever — it only sees the mailbox.

My iPhone has no stock mail app from another maker — what do I use? Apple Mail is the default. See Setting up Apple Mail on iOS — note the fetch-interval hint there: Apple Mail only fetches IMAP accounts at intervals. Alternatives: Outlook for iOS, Spark, Newton, etc. — all in the App Store.

What’s next

Next steps

Tags
mailcow android samsung imap

Did this article help?

If not, open a ticket. If it did, we're happy about a referral — both sides get €25 credit on their customer account.