mail wrapper for rlwrap