not ready to write mail messages to disk, but almost there