Added mail sending support and activation mail on signup.