imported
fix typo
get rid of finals and updates copyrights
MailService: extracted interface.
Define MailService in ServicesConfig.