Added mailing capabilities to client, fixed spring configuration bug on server