Set up Thunderbird
Use Thunderbird to access your University email, calendar and contacts through Exchange Online.
Thunderbird is a free email application available for Windows, macOS and Linux. This guide explains how to connect Thunderbird to your University Microsoft 365 account.
You can download the Thunderbird app and find instructions on how to use it from the Thunderbird website .
Connecting to an individual mailbox
When setting up your account, enter your email address in the format [CRSid]@cam.ac.uk and select 'Configure manually'. Then enter the following server settings:
Incoming server
- Protocol: IMAP
- Hostname: outlook.office365.com
- Port: 993
- Connection security: SSL/TLS
- Authentication method: OAuth2 *
- Username: [CRSid]@cam.ac.uk
Outgoing server
- Hostname: smtp.office365.com
- Port: 587
- Connection security: STARTTLS
- Authentication method: OAuth2 *
- Username: [CRSid]@cam.ac.uk
When authenticating, you'll see the usual Cambridge University screen for your username, password and then multi-factor authentication (MFA). You must ensure that your username on that screen is [CRSid]@cam.ac.uk, and that you use your associated password and additional authentication mechanism.
*If you don't see OAuth2 as an option, fill out the other details and leave the Authentication Method as 'Autodetect'. Click the Re-test button and it should then appear as an option in the drop-down list.
Subscribing to folders
If you have existing subfolders set up in Outlook Online you will need to subscribe to these individually to make them visible in Thunderbird:
- Select "File" > "Subscribe".
- Check the boxes beside the folders you want to read in Thunderbird.
- Select "Subscribe", then "OK".
- Restart Thunderbird.
- The subscribed folders will be downloaded and will appear separate from the main inbox folder.
Deleted items folder
By default Thunderbird will move deleted items to the Trash folder, this will create a new folder in your Exchange Online mailbox as the default for the mailbox is to use the Deleted Items folder. To ensure deleted items go to the same folder you will need to do the following:
- Follow the instructions above for subscribing to folders and ensure the 'Deleted Items' folder is ticked. Restart Thunderbird if you need to tick it.
- Select "Settings" > "Account Settings".
- Select "Server Settings".
- Under the Server Settings section, where it says 'When I delete a message:', select the drop-down where it says 'Trash on CRSid@cam.ac.uk'.
- Select the Deleted Items folder.
Connecting to a shared mailbox
Use the following settings to connect to a shared mailbox that you have authority to access. In this example, your username is your individual mailbox in the format [CRSid]@cam.ac.uk and the shared mailbox is in the format [mailbox]@[domain].cam.ac.uk.
IMAP
- IMAP server: outlook.office365.com
- IMAP port: 993
- IMAP connection security: SSL/TLS
- IMAP username: [mailbox]@[domain].cam.ac.uk
- IMAP authentication method: OAuth2
SMTP
- SMTP server: smtp.office365.com
- SMTP port: 587
- SMTP connection security: STARTTLS
- SMTP username: [CRSid]@cam.ac.uk
- SMTP authentication method: OAuth2
When authenticating, you'll see the usual Cambridge University screen for your username, password and then multi-factor authentication (MFA). You must ensure that your username on that screen is [CRSid]@cam.ac.uk, not [mailbox]@[domain].cam.ac.uk. If the authentication window defaults to the shared mailbox as the username and only gives you the option to enter a password or 'Forgot my password', enter an incorrect password then click Sign in and it should then give you the option to 'Sign in with another account' so you can change the username to [CRSid]@cam.ac.uk.
EWS Deprecation
In October 2026, Microsoft deprecated support for connecting to mailboxes via EWS. If you previously set up your account with the Exchange Web Services option (or with an Add-on such as Owl or Exquilla), you would need to delete the account and set it up again using either the IMAP instructions above or by selecting Microsoft Graph API as the connection option.
If settings are not automatically detected for Microsoft Graph, the following can be used for manual configuration:
- Email Account type: Exchange or Microsoft 365
- Service URL: https://graph.microsoft.com/
- Username: [CRSid]@cam.ac.uk
- Authentication method: OAuth2
IPv6 connection errors
If you are seeing the error message 'User is authenticated but not connected' please try the following:
- Select the Tools menu, then "Settings".
- Select "General", if not already selected, then scroll down and select "Config Editor".
- In the search box, type 'ipv4o'.
- Select the pencil icon to the left of 'network.dns.ipv4OnlyDomains', type in outlook.office365.com, then select the tick button.
- Restart Thunderbird.