parameterize maildir pull functions
maildir/pull: swap loop for --each