Configure email. Setup registration. Closes #2.