add metadata json
rebuilt .sopm
dtl -> tt
adopt SMTP modules of OTRS4