code: def mark_all_read(user):
      
      BackendClass = stored_messages_settings.STORAGE_BACKEND
      backend = BackendClass()
      backend.inbox_purge(user)
docs: Mark all message instances for a user as read.
  
      :param user: user instance for the recipient