If you used your Google password when adding a Gmail account to K-9 Mail, you need to use the new mechanism to be able to still access your messages. For this to work, make sure you’re using K-9 Mail 6.200 or newer.
We tried to make the transition as easy as possible without forcing users that use app-specific passwords to switch to OAuth 2.0.
The somewhat automatic way
- Inside K-9 Mail, manually check your Gmail account for new messages.
- You should see an “Authentication failed” notification.
- Tap the notification to get to the Incoming server settings screen for that account.
- The app should have automatically changed the Authentication value to OAuth 2.0. So, just press the Next button at the bottom of the screen.
- If your browser is not already logged in to your Google account, you will be asked to log in.
- Afterwards you’ll be asked to grant K-9 Mail access to “Read, compose, send, and permanently delete all your email from Gmail”. Tap “Allow”.
- Your Gmail account in K-9 Mail should work again.
The manual way
- Go to Settings → [Your Gmail account] → Fetching mail → Incoming server.
- Make sure to use
imap.gmail.com
under IMAP server. - Select OAuth 2.0 under Authentication.
- Tap the Next button at the bottom of the screen.
- If your browser is not already logged in to your Google account, you will be asked to log in.
- Afterwards you’ll be asked to grant K-9 Mail access to “Read, compose, send, and permanently delete all your email from Gmail”. Tap “Allow”.
- Go to Settings → [Your Gmail account] → Sending mail → Outgoing server.
- Make sure to use
smtp.gmail.com
under SMTP server. - Select OAuth 2.0 under Authentication.
- Tap the Next button at the bottom of the screen.
- K-9 Mail will automatically use the access you’ve granted it in step 6.
- Your Gmail account in K-9 Mail should work again.