Is there any way I can read mail with emacs that comes from a gmail account protected with compulsory 2-factor auth? Application-specific passwords are disabled for GMail by my employer. So I can't use the usual workaround of setting an application-specific password.
Google says that Apple Mail and iOS are able to do this, but doesn't explain how. And I know that Apple Mail works because one of my colleagues uses it.
Ideally I want to use IMAP, so that I can read emails from my phone too.
BTW, this is not Google's 2 factor auth but a third-party SSO provider.