Step 1:
Click the File menu available on the top-left corner of the screen.
Step 2:
Select the Add Account option.
Step 3:
Enter your Office 365 mail ID and click the Connect button.
Step 4:
Select the IMAP option on the Choose account type screen.