Expiration means deletion of old messages which have outlasted a certain period of time.
wl-expire supports not only simple deletion, but also moving to specified archiving folders.
wl-expire