Add maven release plugin.
Fix tests, need to add a test mail Session.