microg / microg/GmsCore

com.google.android.gm Gmail

Open
#3,391 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
14.6k
Forks
3.2k
PR merge metrics
PR metrics pending

Description

**Affected app**
Name: Gmail
Package id: com.google.android.gm

**Describe the bug**
Plain IMAP email accounts do not show in the account switcher.

**To Reproduce**
Steps to reproduce the behavior:
1. Tap profile picture in the top-right to open account switcher
2. Click on 'Add another account'
3. Click on 'Other'
4. Enter your email address from a plain email server, not a common email provider.
5. Go through account setup as usual, enter password, incoming and outgoing email server and successfully add the account.
6. Go back to the account switcher.
7. The account is missing from the account switcher, only Gmail accounts can be accessed.
One can select the account when sending outgoing email, its inbox is mixed into the 'All accounts' view and its emails can be searched from there, but can't actually switch to the account and view its primary inbox and folders.
The account is listed in Gmail settings, however.

**Expected behavior**
That I can select my email in the account switcher and access it like I would any other email account. Adding the same account on two different devices with Play Services generated the expected behaviour, only my own phone with GmsCore is being inconsistent.

**Screenshots**
![gmail settings](https://github.com/user-attachments/assets/d2069f02-ebe7-4235-9746-627be8fefd7b)
![gmail account switcher](https://github.com/user-attachments/assets/e9e21d3b-b36e-4051-828f-284dfb9b4e8b)
![microg selfcheck](https://github.com/user-attachments/assets/38f43771-2d1a-42d0-99d1-17938b51bb26)

**System**
Android Version: 16
Custom ROM: Evolution X 11.6.2-Vanilla

**microG**
microG Core version: 0.3.13.250932 (installed as User App from GitHub releases)
microG Self-Check results: All ticked except for services framework and interact with work profile

**Additional context**
Add any other context about the problem here.
I don't think Services Framework is to blame, it only does cloud messaging and latest google apps shouldn't be relying on it anyways. I couldn't get it installed on Android 16 no matter what I tried.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Reproduce the issue through Gmail's account switcher using Add another account > Other, then inspect GmsCore logs and the account-related Android entry points involved in the setup. Done means a plain IMAP account appears in Gmail's account switcher with access to its inbox and folders.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.