On Wed Oct07'26 05:35:44AM, Andy Arenson wrote:
> From: Andy Arenson <[email protected]>
> Date: Wed, 07 Oct 2026 05:35:44 -0400
> To: [email protected]
> Subject: Does mutt support Microsoft Graph API?
> 
> At my workplace, I lost the ability to use IMAP to connect to our
> Office 365 email years ago.
> 
> A colleague showed me how to use Davmail to connect to Office 365 using
> EWS. That colleague has since left, and EWS has been phased out.
> 
> I've had it suggested that I should now use the Microsoft Graph API.
> Davmail supports this, so I will probably be able to figure out how to
> configure Davmail to do so.
> 
> But at the moment it seems like Office 365 is not allowing connections
> from Davmail regardless of what protocol is used.
> 
> Does mutt support the Microsoft Graph API?
> 
Hi,

I presume you are wanting to use mutt with your email. You can try your luck 
with configuring mutt for O365 using the following: 
https://staff.washington.edu/shrike/unix/configuring-mutt-neomutt-for-imap-access-to-o365-exchange/

There is substantial evidence online that this method works: however, this 
needs cooperation of your workplace IT to allow you to add your specific email 
MUA. Most institutions and MS itself allow it, however I was ultimately not 
successful in this regard so I was not actually able to try it out. While this 
would have been easy, I found myself a winding alternative but it all depends 
on what your institution's parameters are.

My wife (and colleague) also looked into writing Graph AI calls about eight 
years ago and was successful in making the calls but the API itself changed, 
and this made for a horrible cat-and-mouse operation. In those days, they 
allowed Graph API app registration at my workplace. But my guess is that if 
they allow the registration of this app, they will allow registration of the 
mutt (or whatever) Entra ID app, so you are better off doing this directly.

I am not sure if this helps, but before you sink time into this like me, you 
may want to find out what your parameters and constraints are. If they allow 
the Entra app registration (for only a specific user), it will perhaps be a 
5-10 minute affair that is no less secure, and perhaps even far more than using 
Outlook 365 on the browser, but you will need a competent and cooperative  IT 
shop. 

Best wishes,
Ranjan

Reply via email to