Mailcow in the Gmail app for Android
Add an IMAP account
In Gmail, tap your profile picture, choose Add another account → Other and enter your full Mailcow email address. Tap Manual setup → Personal (IMAP). If Gmail takes you straight to the account type screen, select Personal (IMAP) there.
Have the server hostname from your hosting activation email and your mailbox password ready. If you created an app password for this phone, use it for both receiving and sending. Mailcow app passwords.
Incoming mail (IMAP)
Enter your full mailbox address in Username. Check Password and enter the incoming hostname in Server. If Gmail displays Port and Security type, use 993 and SSL/TLS. Tap Next to let Gmail check the connection.

Outgoing mail (SMTP)
Keep Require sign-in enabled. Check that Username contains the same full mailbox address. Enter the mailbox or app password and copy the outgoing hostname from your activation email into SMTP server. Use 465 with SSL/TLS, or select STARTTLS if your settings specify port 587. Tap Next, choose a sync frequency and enter the name you want recipients to see.

Check the connection
If the setup screens skip the port and security fields, open Gmail → ☰ → Settings, select the mailbox and scroll to Server settings. Open Incoming settings and Outgoing settings to check them separately.
Send a message from this mailbox to a second address, reply from that address and refresh the inbox in Gmail. If the message stays in the outbox, check SMTP sign-in and the outgoing port. If the reply appears in SOGo but not in Gmail, check IMAP and the account’s sync settings.
Screenshot source — one.com’s guide to Gmail on Android.