fixed email transport implementation
bugfixes to mail service
fixing report tab problem