Merges maildir and mbox scripts together; support for a config file.
Mbox writing actually appends to the file instead of going to stdout.