Added soe tests for MailService.
Fixed #109.
Removed old api and site and refactored according to it.
Upgraded Spring versions and cleaned up dependencies.