extended the api

+ new methods to IServAPIFiles
+ added the class for mails