Add automatic cleaning of outdated offline messages
Description
Messages that arrive for users that are not online are stored in the database. It would be good to have a feature that will, eventually, clean up these messages when they're not retrieved (for example for users that are inactive).