CODE: splitmail and parsemail utilities