Email stuff updated all around

Inlined styles in base.tmpl.html
Password reset now triggers sending an email with a reset link.