implement MailStorage
remove line breaks from mail subject, fixes #4