Adding a welcome email for new users.

Added the infrastructure necessary to support sending a email to
users when they sign up, either locally or by using an OAuth
provider. Also added a basic welcome message for new users.

Fixes #374