You will need to install evolution and evolution-ews for your distro.
Cubbli 18.04 has these by default.
Open Evolution from the menu and it will start the wizard shown below.
Check: Do not show this wizard again.
Full Name: Enter your name as you'd like it to appear.
E-mail Address: Enter your email address as shown in the picture firstname.lastname@example.org
Server Type: Exchange Web Services
Host URL: https://outlook.office365.com/EWS/Exchange.asmx
After you have typed correct host URL, click fetch URL.
When prompted, enter your password and click OK
Check for new messages every 60 minutes is default value, change it to 1 minutes.
Email and calendar will take some time to sync.