mailnot: add trash and archive actions.

also, DRY.