Fixed newlines in mbox generation
Added agpl license.