How to set up email on an Android phone (IMAP)
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)
- Open the Gmail app, tap your profile picture, then Add another account.
- Choose Other.
- Enter the full email address, for example
[email protected], and tap Manual setup. - Choose Personal (IMAP).
- Enter the mailbox password.
- Incoming server settings: username = the full email address, server = the name from Mail client settings, port
993, security SSL/TLS. - Outgoing server settings: require sign-in, username = the full email address, same password, server = the same name, port
465with SSL/TLS (or587with STARTTLS). - 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.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- Email settings for mail apps (IMAP, POP3 and SMTP)
The incoming and outgoing server names, ports and encryption for setting up your mailbox in any mail app or phone: IMAP 993, POP3 995, SMTP 465 or 587.
- Sync calendars and contacts with CalDAV and CardDAV
Every mailbox has its own calendar and address book. Add them to iPhone, Mac, Android or Thunderbird with your email address and mailbox password.
- How to set up email on iPhone, iPad or Mac
Download a ready-made profile from the control panel that sets up your mailbox, calendar and contacts on an iPhone, iPad or Mac in one step.
- Can't send email from your mail app or phone (SMTP errors)
Your mail app receives mail but cannot send, or keeps asking for the password. Fix SMTP login, port, encryption, blocked address and sending limit problems.