Added mail sending
registration still broken for some reason...