Click the Main office button in the top left on Outlook then account Settings

Outlook 2016/365 Main Menu Account Settings

 

Then hit Change on the account

Outlook 2016/365 Account Editing Panel

Then change the stored email length,

Outlook 2016/365 Caching Settings Window

For more indepth instructions and more options, Check out Microsoft’s Support Page