bool imap_gc ( resource $imap_stream , int $caches )
Purges the cache of entries of a specific type.
Returns TRUE on success or FALSE on failure.