daily task to clean up mail caches