'Called before writing the mailbox to file f.'

def _pre_mailbox_hook(self, f):

    f.write(('BABYL    OPTIONS:%sVersion:    5%sLabels:%s%s\x1f' % (os.linesep, os.linesep, ','.join(self.get_labels()), os.linesep)))
