How to set up email on an Android phone (IMAP)

For hosting customers · Updated 2026-10-29

On this page
  1. Before you start
  2. Steps (Gmail app)
  3. Good to know
  4. Common questions

Android mail apps (the Gmail app, Samsung Email, Outlook and others) connect to your mailbox with IMAP for incoming mail and SMTP for sending. The names of the buttons differ a little between apps.

Before you start

Open Email Accounts (section Email) in the control panel (https://<server>:2083) and note the server name under Mail client settings, for example mail.example.com.

Steps (Gmail app)

  1. Open the Gmail app, tap your profile picture, then Add another account.
  2. Choose Other.
  3. Enter the full email address, for example [email protected], and tap Manual setup.
  4. Choose Personal (IMAP).
  5. Enter the mailbox password.
  6. Incoming server settings: username = the full email address, server = the name from Mail client settings, port 993, security SSL/TLS.
  7. Outgoing server settings: require sign-in, username = the full email address, same password, server = the same name, port 465 with SSL/TLS (or 587 with STARTTLS).
  8. Choose how often to sync and finish.

Other apps ask for the same values. See mail app settings.

Good to know

  • Choose IMAP, not POP3, so the phone, your computer and webmail all show the same mail.
  • To sync the mailbox's calendar and contacts too, use the free DAVx⁵ app; see calendars and contacts.

Common questions

The app says the certificate is not valid.

Use exactly the server name shown under Mail client settings. Another name that reaches the same server has no matching certificate.

Receiving works but sending fails.

Make sure the outgoing server requires sign-in with the same full email address and password, and that port and security match (465 with SSL/TLS, 587 with STARTTLS). See cannot send email.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.