jberkel / sms-backup-plus

Backup Android SMS, MMS and call log to Gmail / Gcal / IMAP
https://play.google.com/store/apps/details?id=com.zegoggles.smssync
Apache License 2.0
1.81k stars 498 forks source link

Quick workaround for Gmail IMAP access issues without 2FA if you have Office 365 #1083

Closed mwisnicki closed 2 years ago

mwisnicki commented 2 years ago

As mentioned in other issues (#1081, #1082) it is no longer possible to log in to Gmail via normal password. One solution is to use app passwords but these require enabling 2-factor authentication.

Another one I found is to use Outlook.com as a IMAP-to-Gmail proxy. This requires any Office 365 license.

  1. Add your other email accounts to Outlook.com
    • You don't need to open Outlook account, you can just sign in with any Microsoft account (including one created for *@gmail.com)
    • Once you do this, your Gmail account with show up as a folder named like your gmail login (including over IMAP)
  2. Configure SMS Backup+ to use Outlook IMAP server - outlook.office365.com and your Microsoft account credentials
  3. In backup settings update Gmail labels to be prefixed with the name of your account and /, e.g. you@gmail.com/SMS

That's it. It should work now. Outlook syncs emails back to Google with few minutes of delay so you may need to wait a bit for them to show up on Gmail side.

mwisnicki commented 2 years ago

Closing as nothing to do here. This was informative only but this repo doesn't have discussions.

mwisnicki commented 2 years ago

Disregard this advice. Microsoft had sunset this feature.