Remove unnecessary queries from the Roundcube plugin.