Add missing license headers.
Write test mail underneath target folder.