Shared email accounts, do not have an Office 365 licence, therefore after 2 years any emails from a shared email account will be deleted. To prevent any important emails from being deleted, save the emails to another secure location, e.g. OneDrive, Teams.  

NB: This must do this before the 2 years expires.